home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_nn-tk.idb / usr / freeware / lib / nn / help / Manual.z / Manual
Encoding:
Internet Message Format  |  1999-04-16  |  244.5 KB

  1. From: NN
  2. Subject: nn-tk - efficient net news interface (No News is good news)
  3.  
  4. nn, nn-tk - efficient net news interface (No News is good news)
  5.  
  6.  
  7. From: NN
  8. Subject: SYNOPSIS
  9.  
  10. nn [ options ] [ newsgroup | +folder | file ]...
  11. nn -g [ -r ]
  12. nn -a0 [ newsgroup ]...
  13. also nn-tk
  14.  
  15. From: NN
  16. Subject: DESCRIPTION
  17.  
  18. Net news is a world-wide information exchange service covering numerous topics
  19. in science and every day life. Topics are organized in news\ groups, and these
  20. groups are open for everybody to post articles on a subject related to the
  21. topic of the group.
  22.  
  23. Nn is a `point-and-shoot' net news interface program, or a news reader for
  24. short (not to be confused with the human news reader). When you use nn, you
  25. can decide which of the many news groups you are interested in, and you can
  26. unsubscribe to those which don't interest you. nn will let you read the new
  27. (and old) articles in each of the groups you subscribe to using a menu based
  28. article selection prior to reading the articles in the news group.
  29.  
  30.     When a news group is entered, nn will locate all the presently unread
  31. articles in the group, and extract their sender, subject, and other relevant
  32. information. This information is then rearranged, sorted, and marked in
  33. various ways to give it a pleasant format when it is presented on the screen.
  34.  
  35.     When the article menu appears on the screen, nn will be in a mode called
  36. selection mode. In this mode, the articles which seems to be interesting can
  37. be selected by single keystrokes (using the keys a-z and 0-9). When all the
  38. interesting articles among the ones presently displayed have been selected,
  39. the space bar is hit, which causes nn to enter reading mode.
  40.  
  41.     In reading mode, each of the selected articles will be presented. You use
  42. the space bar to go on to the next page of the current article, or to the next
  43. article. Of course, there are all sorts of commands to scroll text up and
  44. down, skip to the next article, responding to an article, decrypt an article,
  45. and so on.
  46.  
  47.     When all the selected articles in the current group have been read, the
  48. last hit on the space bar will cause nn will continue to the next group with
  49. unread articles, and enter selection mode on that group.
  50.  
  51.     NN can (if compiled for it) to read news via NNTP as well as local news
  52. files.
  53.  
  54. From: NN
  55. Subject: NN-TK
  56.  
  57. The TCL/TK code provides a GUI interface with command menus and buttons. .RS
  58. The features include: .IP the use of the mouse to select articles .IP a
  59. scrolling panel for displaying articles .IP a panel displaying the article
  60. thread structure .IP group selection using either of scrolling panel or
  61. cascading menus. .IP group sequence modification via the group list .IP .RE
  62. .RS If EXMH is available then there is also: .IP an internal editor for
  63. posting items .IP the ability to send and read MIME and PGP messages .IP the
  64. ability to view HTML inline (EXMH 2.0) .IP the ability to turn URL's into
  65. buttons for passing to a WWW browser. .RE
  66.  
  67. From: NN
  68. Subject: FREQUENTLY USED OPTIONS
  69.  
  70. nn accepts a lot of command line options, but here only the frequently used
  71. options are described. Options can also be set permanently by including
  72. appropriate variable settings in the init file described later. All options
  73. are described in the section on Command Line Options towards the end of this
  74. manual.
  75.  
  76. The frequently used command line options are:
  77.  
  78. -a0  Catch up on unread articles and groups. See the section "Catch up" below.
  79.  
  80. -A   Don't read active file, instead use the .newsrc file for the list of
  81.      groups, this can be useful for slow NNTP connections.
  82.  
  83. -g   Prompt for the name of a news group or folder to be entered (with
  84.      completion).
  85.  
  86. -r   Used with -g to repeatedly prompt for groups to enter.
  87.  
  88. -lN  Print only the first N lines of the first page of each article before
  89.      prompting to continue. This is useful on slow terminals and modem lines
  90.      to be able to see the first few lines of longer articles.
  91.  
  92. -sWORD
  93.      Collect only articles which contain the string WORD in their subject
  94.      (case is ignored). This is normally combined with the -x and -m options
  95.      to find all articles on a specific subject.
  96.  
  97. -s/regexp
  98.      Collect only articles whose subject matches the regular expression regexp
  99.      . This is normally combined with the -x and -m options to find all
  100.      articles on a specific subject.
  101.  
  102. -nWORD or -n/regexp
  103.      Same as -s except that it matches on the sender's name instead of the
  104.      article's subject. This is normally combined with the -x and -m options
  105.      to find all articles from a specific author. It cannot be mixed with the
  106.      -s option!
  107.  
  108. -i   Normally searches with -n and -s are case independent. Using this option,
  109.      the case becomes significant.
  110.  
  111. -m   Merge all articles into one `meta group' instead of showing them one
  112.      group at a time. This is normally used together with the -x and -s
  113.      options to get all the articles on a specific subject presented on a
  114.      single menu (when you don't care about which group they belong to). When
  115.      -m is used, no articles will be marked as read.
  116.  
  117. -R host
  118.      Connect to the specified NNTP server
  119.  
  120. -x[N]
  121.      Present (or scan) all (or the last N) unread as well as read articles.
  122.      When this option is used, nn will never mark unread articles as read
  123.      (i.e. .newsrc is not updated).
  124.  
  125. -X   Read/scan unsubscribed groups also. Most useful when looking for a
  126.      specific subject in all groups, e.g.
  127.            nn -mxX -sSubject all
  128.  
  129. news.group  or  file  or  +folder
  130.      If none of these arguments are given, all subscribed news groups will be
  131.      used. Otherwise, only the specified news groups and/or files will be
  132.      collected and presented. In specifying a news groups, the following `meta
  133.      notation' can be used:
  134.      If the news group ends with a `.' (or `.all'), all subgroups of the news
  135.      group will be collected, e.g.
  136.            comp.sources. If a news group starts with a `.' (or `all.'), all the
  137.      matching subgroups will be collected, e.g.
  138.            .sources.unix The argument `all' identifies all (subscribed) news
  139.      groups.
  140.  
  141. From: NN
  142. Subject: COMMAND INPUT
  143.  
  144. In general, nn commands consist of one or two key-strokes, and nn reacts
  145. instantly to the commands you give it; you don't have to enter return after
  146. each command (except where explicitly stated).
  147.  
  148. Some commands have more serious effects than others, and therefore nn requests
  149. you to confirm the command. You confirm by hitting the the y key, and reject
  150. by hitting the n key. Some `trivial' requests may also be confirmed simply by
  151. hitting space. For example, to confirm the creation of a save file, just hit
  152. space, but if one or more directories also have to be created, you must enter
  153. y.
  154.  
  155. Many commands will require that you enter a line of text, e.g. a file name or
  156. a shell command. If you enter space as the first character on a line, the line
  157. will be filled with a default value (if one is defined). For example, the
  158. default value for a file name is the last file name you have entered, and the
  159. default shell command is your previous shell command. You can edit this
  160. default value as well as a directly typed text, using the following editing
  161. commands. The erase, kill, and interrupt keys are the keys defined by the
  162. current tty settings. On systems without job control, the suspend key will be
  163. control-Z while it is the current suspend character on system with job
  164. control.
  165.  
  166. erase
  167.      Delete the last character on the line.
  168.  
  169. delete-word   (normally ^W)
  170.      Delete the last word or component of the input.
  171.  
  172. kill
  173.      Delete all characters on the line.
  174.  
  175. interrupt  and  control-G
  176.      Cancel the command which needs the input.
  177.  
  178. suspend
  179.      Suspend nn if supported by the system. Otherwise, spawn an interactive
  180.      shell.
  181.  
  182. return
  183.      Terminate the line, and continue with the command.
  184.  
  185. Related variables: erase-key, flow-control, flush-typeahead, help-key,
  186. kill-key, word-key.
  187.  
  188. From: NN
  189. Subject: BASIC COMMANDS
  190.  
  191. There are numerous commands in nn, and most of them can be invoked by a single
  192. keystroke. The descriptions in this manual are based on the standard bindings
  193. of the commands to the keys, but it is possible to customize these using the
  194. map command described later. For each of the keystroke commands described in
  195. this manual, the corresponding command name will also be shown in curly
  196. braces, e.g. {command}.
  197.  
  198. The following commands work in both selection mode and in reading mode. The
  199. notation ^X means `control X':
  200.  
  201. ?    {help}
  202.      Help. Gives a one page overview of the commands available in the current
  203.      mode.
  204.  
  205. ^L    {redraw}
  206.      Redraw screen.
  207.  
  208. ^R    {redraw}
  209.      Redraw screen (Same as ^L).
  210.  
  211. ^P    {message}
  212.      Repeat the last message shown on the message line. The command can be
  213.      repeated to successively show previous messages (the maximum number of
  214.      saved messages is controlled via the message-history variable.)
  215.  
  216. !    {shell}
  217.      Shell escape. The user is prompted for a command which is executed by
  218.      your favorite shell (see the shell variable). Shell escapes are described
  219.      in detail later on.
  220.  
  221. Q    {quit}
  222.      Quit nn. When you use this command, you neither lose unread articles in
  223.      the current group nor the selections you might have made (unless the
  224.      articles are expired in the meantime of course).
  225.  
  226. V    {version}
  227.      Print release and version information.
  228.  
  229. :command  {command}
  230.      Execute the command by name. This form can be used to invoke any of nn's
  231.      commands, also those which cannot be bound to a key (such as :coredump),
  232.      or those which are not bound to a key by default (such as post and
  233.      unshar).
  234.  
  235. Related and basic variables: backup, backup-suffix, confirm-auto-quit, expert,
  236. mail, message-history, new-group-action, newsrc, quick-count.
  237.  
  238. From: NN
  239. Subject: SELECTION MODE
  240.  
  241. In selection mode, the screen is divided into four parts: the header line
  242. showing the name of the news group and the number of articles, the menu lines
  243. which show the collected articles - one article per line, the prompt line
  244. where you enter commands, and the message line where nn prints various
  245. messages to you.
  246.  
  247. Each menu line begins with an article id which is a unique letter (or digit if
  248. your screen can show more than 26 menu lines). To select an articles for
  249. reading, you simply enter the corresponding id, and the menu line will be
  250. high-lighted to indicate that the article is selected. When you have selected
  251. all the interesting articles on the present menu, you simply hit space.
  252.  
  253. If there are more articles collected for the current group than could be
  254. presented on one screenfull of text, you will be presented with the next
  255. portion of articles to select from. When you have had the opportunity to
  256. select among all the articles in the group, hitting space will enter reading
  257. mode.
  258.  
  259. If no articles have been selected in the current group, hitting space will
  260. enter selection mode on the next news group, or exit nn if the current group
  261. was the last news group with unread articles. It is thus possible to go
  262. through ALL unread articles (without reading any of them) just by hitting
  263. space a few times.
  264.  
  265. The articles will be presented on the menu using one of the following layouts:
  266.  
  267. 0:   x Name......... Subject.............. +123
  268.  
  269. 1:   x Name......... 123 Subject..............
  270.  
  271. 2:   x 123 Subject...................................
  272.  
  273. 3:   x Subject...........................................
  274.  
  275. 4:   x Subject........................................
  276.  
  277. Here x is the letter or digit that must be entered to select the article, Name
  278. is the real name of the sender (or the mail address if the real name cannot be
  279. found), Subject is the contents of the "Subject:" line in the article, and 123
  280. is the number of lines in the article.
  281.  
  282. Layout 0 and 1 are just two ways to present the same information, while layout
  283. 2 and 3 are intended for groups whose articles have very long subject lines,
  284. e.g. comp.sources.
  285.  
  286.     Layout 4 is a hybrid between layout 1 and 3. It will normally use layout 1,
  287. but it will use layout 3 (with a little indentation) for menu lines where the
  288. subject is longer than the space available with layout 1.
  289.  
  290. Layout 1 is the default layout, and an alternative menu line layout is
  291. selected using the -L option or by setting the layout variable. Once nn is
  292. started the layout can be changed at any time using the " key {layout}.
  293.  
  294. The Name is limited to 16 characters, and to make maximum use of this space,
  295. nn will perform a series of simplifications on the name, e.g. changing first
  296. names into initials, removing domain names from mail addresses (if the real
  297. name is not found) etc. It does a good job, but some people on the net put
  298. weird things into the From: field (or actually into their password file) which
  299. result in nn producing quite cryptic, and sometimes funny "names".
  300.  
  301. One a usual 80 column terminal, the Subject is limited to about 60 characters
  302. (75 in layout 3) and is thus only an approximation to the actual subject line
  303. which may be much longer. To get as much out of this space, Re: prefixes (in
  304. various forms) are recognized and replaced by a single `>' character (see the
  305. re-layout variable).
  306.  
  307.     Since articles are sorted according to the subject, two or more adjacent
  308. articles may share the same subject (ignoring any `>'s). In this case, only
  309. the first article will show the subject of the article; the rest will only
  310. show the `>' character in the subject field (or a `-' if there is no `>' at
  311. the beginning of the line). A typical menu will thus only show each subject
  312. once, saving a lot of time in scanning the news articles.
  313.  
  314. If consolidated menus (see section below) are enabled, adjacent articles
  315. sharing the same subject will be shown with a single line on the menu
  316. corresponding to the first of the articles. The number of articles with the
  317. same subject will be shown as a bracketed number in front of the subject, e.g.
  318. with layout 1:
  319.       x Name......... 123 [4] Subject.............. For further information see
  320. the section on consolidated menus below.
  321.  
  322. Related variables: collapse-subject, columns, confirm-entry,
  323. confirm-entry-limit, entry-report-limit, fsort, kill, layout, limit, lines,
  324. long-menu, re-layout, repeat, slow-mode, sort, sort-mode, split,
  325. subject-match-limit, subject-match-offset, subject-match-parts,
  326. subject-match-minimum.
  327.  
  328. From: NN
  329. Subject: NN-TK USE
  330.  
  331. NN-TK follows the NN reading method where all the desired articles of each
  332. group are selected and then read, all the normal NN keys and commands can be
  333. used. The left mouse button can be used for selecting articles and dragged to
  334. select a range of articles. The PAGE buttons are the equivalent of SPACE key
  335. and provides paging through groups, subject and articles reading any selected
  336. articles. .BR The right mouse button is used for the immediate reading of
  337. selected articles
  338.  
  339. The mouse button usage
  340.  
  341. Dragging Mouse-button-2 will scroll text windows, entries
  342.      and lists.
  343.      Mouse-button-2 in an entry field will paste in the X selection
  344.      Drag Mouse-button-1 for selection, dragging it outside the widget scrolls
  345.      the widget
  346.      Shift-Mouse-button-1 will extend the selection
  347.      EMACS commands work on entry and text areas
  348.  
  349. From: NN
  350. Subject: NN-TK MAIN WINDOW
  351.  
  352.  
  353. The main window is divided into the article menu and article display, with the
  354. group list window optionally attached to left side.
  355.  
  356.     For a lot of nn functions that require a dialog a popup will appear at the
  357. top of the main menu and provide text based interaction, it also provides
  358. progress reporting for various activities such a decoding uuencoded articles.
  359. Some functions such as posting have their own specialized popups.
  360.  
  361.     The are small square handles on the borders between the panels and these
  362. can be dragged with the left mouse button to change the relative size of the
  363. panels. These changes can be save with the "Save window geometry" menu option,
  364. the exception is the border between the article display and group menu panels,
  365. those changes will only be saved if the middle mouse button is used to do the
  366. dragging.
  367.  
  368. ARTICLE SELECTION
  369.      Articles can be selected either by normal nn methods (the characters a-z
  370.      0-9) or by the left mouse button. Dragging with the button depressed
  371.      selects a range of articles.
  372.      The right mouse button selects an article and goes into immediate read
  373.      mode
  374.  
  375. TOP ROW
  376.      The top row of buttons (apart from quit) are popup menus. .RS .IP Groups
  377.      cascading menus of all news groups. .RS .RE .IP Setup nn-tk configuration
  378.      menu .RS .IP "Save Window Geometry" save the size/position of any
  379.      currently displayed windows .IP "Key bindings" Set the key bindings for
  380.      the EXMH simple editor and Entry widget .IP "Exmh option" set the EXMH
  381.      options. Help available by clicking on the labels .RS .IP "Simple Editor"
  382.      options for the internal editor .IP MIME Multi-purpose Internet Mail
  383.      Extension processing options .IP WWW options for calling WWW browsers .IP
  384.      "FS Box" options for file requester used with internal editor .IP "PGP
  385.      interface" configuring the use of PGP for encrypted messages .RE .IP
  386.      "NN-TK General" config options. Help is displayed on top panel when mouse
  387.      is on an item. .IP "NN-TK Group List" options to do with the group list
  388.      .IP "NN-TK Group Cascade Menu" options to do with cascading group menus
  389.      .IP "NN variables" alter nn variables, these changes are stored in
  390.      ~/.nn/tk-init-nn and override the settings in ~/.nn/init. These variables
  391.      are divided into a number of groups, also (all) is to access all the nn
  392.      variables and the (modified) for just those that are different from the
  393.      default .RE .IP "user command menu" define labels and commands for USER
  394.      menu .IP "Color group list" allows entries in the group list to be
  395.      colored if they match specified strings. .RS .RE .IP article functions
  396.      related to single articles .RS .IP "Post news" Post a news article .IP
  397.      "Followup news" Followup a news article .IP "Mail article" Mail a news
  398.      article to someone .IP "Mail reply" Reply to a news article via mail .IP
  399.      "Process articles" .RS .IP "Turn URLs into Buttons" Scan the news item
  400.      and turn anything that looks like a URL into buttons that call up a WWW
  401.      browser to fetch that item. .IP "Treat selection as URL" Pass the current
  402.      selection to a WWW browser .IP "View using PGP" Process the current
  403.      article with PGP to decode or verify signature .IP "decode, patch, print,
  404.      unshar" Pass the article for the given processing .RE .IP "Save articles"
  405.      Save the article to a file .IP misc Misc functions that can be applied to
  406.      an article .RE .IP menu functions related to article selection menu .RS
  407.      .IP "sort type" Sort the article menu according to various criteria .IP
  408.      "consolidated menu" Collapse/expand all items with the same subject
  409.      to/from a single menu item .IP "menu mode" various nn function do with
  410.      the article menu .IP "menu misc" misc nn functions .RE .IP functs .RS .IP
  411.      "reload groups" Update the groups list by rereading the active file .IP
  412.      "make window" Popup the folder window or the group list if it is a
  413.      separate window. .IP "define Kill/Select" Article auto kill/select setup.
  414.      This puts up an option for editing the kill file plus a menu of
  415.      short-cuts applying to the current article and group, the menu is defined
  416.      in nn-defaults and has entries like "kill all articles in the current
  417.      group with less than 100 lines"
  418.  
  419. For editing the group file a panel is poped up containing the kill file
  420. entries, these can be deleted, added to or edited using a window that is a GUI
  421. interface to the fields in the kill file entry. .IP "cancel articles" Cancel
  422. articles you have sent .IP "unsubscribe group" .IP "previous message" Display
  423. previous nn error messages .RE .IP USER user definable menu .IP info Various
  424. information and help functions .RS .IP "nn-tk Help" nn-tk specific help items
  425. .IP "nn Help" general nn help items .IP "show info" various nn information
  426. items .IP "Compose key sequences" Description of sequences for entering non
  427. ASCII characters using the internal editor .IP "Man" Access the nn man page as
  428. a set of news items .RE .RE
  429.  
  430. TOP MODE LINE
  431.      As well as displaying NN group information this line can also be
  432.      configured to display NNTP transfer information (compressed_prompt NN-TK
  433.      config option).
  434.  
  435. MIDDLE MODE LINE
  436.      As well as displaying NN article information this line can also be
  437.      configured to display the NN user prompts. The middle mouse button can be
  438.      used to pased the current X selection into this line where it will act as
  439.      if it had been typed in.
  440.  
  441. MIDDLE ROW
  442.      The middle row of buttons are related to the articles menu panel .RS .IP
  443.      PrevG return to previous group read .IP < previous page of article menu
  444.      .IP = return to article selection menu mode .IP > next page of article
  445.      menu .IP read/skip read items if any have been selected otherwise skip
  446.      group .IP nextG leave group while not marking the articles as read .IP
  447.      PAGE same as the NN space key, pages through articles,
  448.            pages through article menu, if at end do a read/skip .RE
  449.  
  450. NOTE This version of NN is still somewhat modal, if there is a dark
  451.      highlighted article in the the article menu NN is in reading mode,
  452.      otherwise it is in article selection mode. The = button goes from article
  453.      mode to menu mode. It is generally not necessary
  454.  
  455. BOTTOM ROW
  456.      The bottom row of buttons deal with the article display. .RS .IP Opts
  457.      This is a menu for toggling some options temporarily .RS .IP "Mono font"
  458.      Use a mono-space font for displaying the article .IP "Ballon Help" Turn
  459.      on Balloon Help for the buttons .IP "Prefetch articles" Turn on article
  460.      and group information prefetching .RE .IP "Searching panel" Search the
  461.      articles backwards or forwards .IP leave Leave the current article marked
  462.      as still unread. .IP n-subj skip articles in with current subject .IP
  463.      previous previous article .IP next skip current article .IP PAGE as above
  464.      .IP ALL This button is created if the article is longer than the
  465.      configured length for displaying at once or it has page breaks in it,
  466.      pressing it causes the entire article to be displayed. .RE
  467.  
  468. From: NN
  469. Subject: NN-TK Thread Display
  470.  
  471.       This panel displays the tree of articles in discussion threads created by
  472. followups to previous articles. Each article is represented by a box
  473. containing the initials of the sender. The article currently being read has
  474. its box filled in.
  475.  
  476.    
  477.       The thread structure is worked out from the References: headers. NN-TK
  478. attempts to reconstruct the thread structure even if some of the earlier
  479. articles have expired. Articles for which there is no information are shown as
  480. empty boxes, articles that are excluded for reasons such as kill files are
  481. shown as boxes with dashes in them. Selected articles are indicated by a
  482. thicker border on the box.
  483.  
  484.    
  485.       The left mouse button can be used to toggle the selected state of an
  486. article by clicking on the box. Dragging the left mouse button will produce
  487. green box which selects all articles in the box. Dragging the right mouse
  488. button will produce a red box which unselects all articles in the box.
  489.  
  490.    
  491.       NN-TK usually doesn't retrieve the information for articles that have
  492. already been read, so these don't appear in the thread display.
  493.  
  494.    
  495.  
  496. From: NN
  497. Subject: NN-TK Group List
  498.  
  499.       Mouse button 1 is used to select the group to jump to, this pops up a
  500. menu which has options for jumping to the group, jumping while marking the
  501. current group as read, jumping and displaying all articles etc. Jumping can be
  502. canceled with ^G.
  503.  
  504.    
  505.       The first column of numbers indicates the number of unread articles in
  506. each group. If the NN-TK option group_list_all is set there is a second number
  507. in parentheses which is the total number of articles in the group, read or
  508. unread. The red N indicates a new group, the blue U an unsubscribed group and
  509. a green | indicates the groups who's sequence is set via the modify panel.
  510.  
  511.    
  512.       The modify button brings up the group list modify panel. The text entry
  513. with the forward and backward buttons is used to search the group list.
  514.  
  515.    
  516.  
  517. From: NN
  518. Subject: NN-TK Modify Group List
  519.  
  520.       This panel allows the group list to be used for subscribing and
  521. unsubscribing and also changing the group order. .IP "Manipulate Selection"
  522.       The groups in the group list can be selected with mouse button 1. The
  523. Select button will select all groups who's names contain the string in the
  524. text field. The Clear Selection button will unselect all groups. .IP
  525. Subscription
  526.       The Subscribe button subscribes to all selected groups the unSubscribe
  527. button unsubscribes all selected groups. .IP "Clear new"
  528.       This clears the newgroup status of a group .IP "Move Groups"
  529.       Mouse button 3 can be used to paste the selected groups to a different
  530. position in the group list (see NN variable newsrc-sequence). The Put First
  531. button moves the selected groups to the start of the group list. The Put Last
  532. button moves the selected groups to the end of the group list. The Put Before
  533. button moves the selected group to before the first groups who's name is
  534. matched by the contents of the entry. .RE
  535.  
  536. From: NN
  537. Subject: NN-TK SEDIT
  538.  
  539. This is the EXMH built-in editor, sedit, it has a dozen or so commonly used
  540. editing operations bound to keystrokes. These are Emacs-like, but you can
  541. change them from within the editor through the "Key bindings" dialog available
  542. under the main "Setup" menu. In addition, the editor has a number of buttons
  543. and menu entries used to manipulate your draft messages. .IP Abort This
  544. deletes the draft message and removes the editor window. .IP Help This button
  545. brings up a window with a short explanation of the editor. .IP Sign This
  546. appends your ~/.signature file to the draft. If this file is instead an
  547. executable script or program, it is executed in order to generate the
  548. signature. .IP Sign... If you have multiple files that match the ~/.signature*
  549. pattern, the Sign button is replaced with a menu of possibilities. If you
  550. choose the autoSign Simple Editor Preference, then this menu is used to choose
  551. which signature file (or program) is used when automatically signing the
  552. message as it gets posted. .IP Send When you are done with the message, click
  553. Send. .IP Text... This menu is used to add bold, italic, underline, etc. to
  554. your messages. This results in a MIME message of type text/enriched. The
  555. formatting commands are supposed to be palatable to a non-MIME reader, but you
  556. may want to take this into consideration. If you disable the "Format mail"
  557. setting (described below), the looks are discarded before sending the message.
  558. .IP More... This menu contains a few entries for less common operations. They
  559. are: .IP "Keep on send" This is a checkbox menu item that is off
  560. (un-highlighted) by default. If selected it prevents the editor window from
  561. disappearing after you send or abort a message. This is useful if you'd like
  562. to compose a few similar messages. (I also use it to debug the enriched text
  563. formatter.) .IP "Format mail" This is a checkbox menu item that is enabled
  564. (highlighted) by default. Formatting means to break long lines (> 80
  565. characters). This is done as the file is saved, not as you type. So, while the
  566. Tk text widget does line wrapping while you enter text, sedit does not break
  567. these lines until you go to send the message. If you insert a file into a
  568. message that has critical formatting, you may want to disable the Format
  569. option. .IP "Quote Printable" If this is selected, then any text MIME parts
  570. are run through the quoted-printable encoder to wrap up 8-bit characters in a
  571. 7-bit safe encoding. The Quoted Printable default preference setting under
  572. Simple Editor can be set to automatic, never, or always. In automatic mode,
  573. quoting is enabled when you enter a Compose key sequence to generate an 8-bit
  574. character. .IP "Insert File..." This brings up a dialog box that lets you
  575. insert a file into the message. .IP "Insert Part..." This is similar to Insert
  576. File, except that it creates a MIME multipart message structure to wrap up the
  577. inserted file. It tries to determine the type of the file based on
  578. nametemplate entries in the metamail mailcap description file. It presents a
  579. dialog that lets you override the type, add a Content-Description, and choose
  580. an encoding for the file. When you insert the first Part of a message you are
  581. asked whether or not to save the existing message body. If you save it, it
  582. becomes the text/plain first part of the multipart message. .IP "Insert
  583. External..." This sets up an Message/External-Body MIME message part. This is
  584. useful for sending around pointers to files available via FTP or on your local
  585. file system. .IP "Insert PGP Keys..." Insert your PGP keys into the mail
  586. message.. .IP "Spell..." This runs the UNIX spell command over the draft body
  587. and puts the results into a second pane inside the editor window. That's all -
  588. nothing fancy. .IP "Find SEL" This searches the draft for the current X
  589. selection. The intent is that you select misspelled words in the output of the
  590. spell command and use this menu entry to locate them in the draft. .IP "Save
  591. Buffer" This saves the editor buffer into a file in your drafts folder. Most
  592. likely you really want the "Keep on Send" function instead of Save, because
  593. that function preserves the draft after you send it, while ordinarily (in
  594. spite of "Save") MH will rename the draft after you send it. .IP "Mime
  595. Preview" This displays the message as it will appear when an exmh user
  596. receives it. A detached top-level window is used, as with message Clip. .IP
  597. "PGP..." This is a menu of options that use the Pretty Good Privacy package to
  598. to encryption and authentication. An explanation of PGP is beyond the scope of
  599. this manual. This works by inserting a header into your message that indicates
  600. what action to do. The actual encryption or whatever is done after you hit the
  601. Send button. If you use an external editor you can insert the headers in that,
  602. and exmh will run your message through PGP for you when you send it. The four
  603. supported headers are: .DS pgp-action: signclear pgp-action: signbinary
  604. pgp-action: encrypt pgp-action: encryptsign .DE
  605.  
  606. From: NN
  607. Subject: ARTICLE ATTRIBUTES
  608.  
  609. While nn is running and between invocations, nn associates an attribute with
  610. each article on your system. These attributes are used to differentiate
  611. between read and unread articles, selected articles, articles marked for later
  612. treatment, etc. Depending on how nn is configured, these attributes can be
  613. saved between invocations of nn, or some of them may only be used while nn is
  614. running.
  615.  
  616. The attribute is shown on the menu using either a single character following
  617. the article id or by high-lighting the menu line, depending on the attribute
  618. and the capabilities of the terminal. You can also change the attributes to
  619. your own taste (see the attributes variable).
  620.  
  621. The attribute of an article can be changed explicitly using the selection mode
  622. commands described below, or it will change automatically for example when you
  623. have read or saved a selected article. If a command may change any article
  624. attributes, it will be noted in the description of the command. The following
  625. descriptions of the attributes will only mention the most important commands
  626. that may set (or preserve) the attribute.
  627.  
  628. The following attributes may be associated with an article:
  629.  
  630. read Menu attribute "." - indicates that the article has been read or saved.
  631.      When you leave the group, these articles will be marked permanently read,
  632.      and are not presented the next time you enter the group.
  633.  
  634. seen Menu attribute "," - indicates that the article is unread, but that it
  635.      has been presented on a menu. Depending on how nn is configured, these
  636.      articles will automatically be marked read when you leave the group, they
  637.      may remain seen, or they may just be unread the next time you enter the
  638.      group (see the auto-junk-seen, confirm-junk-seen, and retain-seen-status
  639.      variables).
  640.      Only the commands continue (space) and read-skip (X) will mark unread
  641.      articles on the current (or all) menu pages as seen when they are used.
  642.      Other commands that scroll through the menu pages or enter reading mode
  643.      will let unread articles remain unread.
  644.  
  645. unread
  646.      Menu attribute " " - indicates an unread article. These articles were
  647.      unread when you entered the group, and they may remain unread when you
  648.      leave the group, unless they have been marked seen by the command that
  649.      you used to leave the group or enter reading mode.
  650.  
  651. selected
  652.      Menu line high-lighted (or menu attribute "*") - indicates that you have
  653.      selected the article. If you leave the group, the selected articles will
  654.      remain selected the next time you enter the group. When you have read a
  655.      selected article, the attribute will automatically change to read.
  656.  
  657. auto-selected
  658.      These articles have the same appearance as selected articles on the menu,
  659.      and the only difference is that these articles have been selected
  660.      automatically via the auto-selection facility rather than manually by
  661.      you. Very few commands differentiate between these attributes and if they
  662.      do, it is explicitly stated in this manual. The main difference is that
  663.      these articles are only marked as unread when you leave the group
  664.      (supposing they will also be auto-selected the next the group is
  665.      entered). This simplifies the house-keeping between invocations of nn.
  666.  
  667. leave
  668.      Menu attribute "+" - indicates that the article is marked for later
  669.      treatment by the leave-article (l) command. These articles may be
  670.      selected (on demand) when you have read all selected articles in a group.
  671.      However, if you do not select them then immediately, they are stored as
  672.      the leave-next attribute described below.
  673.  
  674. leave-next
  675.      Menu attribute "=" - indicates that the article is marked for later
  676.      treatment by the leave-next (L) command. This is a permanent attribute,
  677.      which will remain on the article until you either read the article,
  678.      change the attribute, or it is expired. So assigning this attribute to an
  679.      article will effectively keep it unread until you do something. If the
  680.      variable select-leave-next is set, nn will ask whether these articles
  681.      should be selected on entry to a group (but naturally, doing so will
  682.      change the leave-next attribute to select).
  683.  
  684. canceled
  685.      Menu attribute "#" - indicates that the article has been canceled. This
  686.      is mainly useful when tidying a folder; it is set by the cancel (C)
  687.      command, and can be cleared by any command that change attributes, e.g.
  688.      you can select and deselect the article.
  689.  
  690. killed
  691.      Menu attribute "!" - indicates that the article has been killed (e.g. by
  692.      the K {kill-select} command). Killed articles are immediately removed
  693.      from the menu, so you should not normally see articles with this
  694.      attribute. If you do, report it as a bug!
  695.  
  696. The attributes are saved in two files: .newsrc (read articles) and .nn/select
  697. (other attributes). Plain unread articles are saved by not occurring in either
  698. of these files. Both files are described in more detail later on.
  699.  
  700. Related variables: attributes, auto-junk-seen, confirm-junk-seen,
  701. retain-seen-status, select-leave-next.
  702.  
  703. From: NN
  704. Subject: SELECTION MODE COMMANDS
  705.  
  706. The primary purpose of the selection mode is of course to select the articles
  707. to be read, but numerous other commands may also be performed in this mode:
  708. saving of articles in files, replying and following up on articles,
  709. mailing/forwarding articles, shell escapes etc.
  710.  
  711.     As described above, the selected articles are marked either by showing the
  712. corresponding menu line in standout mode (reverse video), or if the terminal
  713. does not have this capability by placing an asterisk (*) after the selection
  714. letter or digit.
  715.  
  716. Most commands which are used to select articles will work as toggle commands.
  717. If the article is not already selected, the selectedattribute on the
  718. article(s), independent on the previous attribute. Otherwise, the article(s)
  719. will be deselected and marked unread. Consequently, any article can be marked
  720. unread simply be selecting and deselecting it.
  721.  
  722. During selection, the cursor will normally be placed on the article following
  723. the last article whose attribute was changed (initially the first article).
  724. The article pointed out by the cursor is called the current article, and the
  725. following commands work relative to the current article and cursor position.
  726.  
  727. abc...z 01..9  {article N}
  728.      The article with the given identification letter or digit is selected or
  729.      deselected. The following article becomes the current article. If the
  730.      variable auto-select-subject is set, all articles with the same subject
  731.      as the given article are selected.
  732.  
  733. .    {select}
  734.      Select or deselect the current article and move the cursor to the next
  735.      article.
  736.  
  737. ,    {line+1}
  738.      Move the cursor to the next article. You can use the down arrow as well.
  739.  
  740. /    {line-1}
  741.      Move cursor to previous article. You can use the up arrow as well.
  742.  
  743. *    {select-subject}
  744.      Select or deselect all articles with same subject as current article.
  745.      This will work across several menu pages if necessary.
  746.  
  747. -x    {select-range}
  748.      Select or deselect the range of articles between the current article and
  749.      the article specified by x. For example you can select all articles from
  750.      e to k by simply typing e-k.
  751.  
  752. The following commands may change the attributes on all articles on the
  753. current menu page, or on all articles on all menu pages.
  754.  
  755. @    {select-invert}
  756.      Reverse selections. All selected articles on the current page are
  757.      deselected, and vice-versa. (Use the find command to select all
  758.      articles.)
  759.  
  760. ~    {unselect-all}
  761.      Deselect all auto-selected articles in the group (this works across all
  762.      menu pages). If the command is executed twice, the selected articles will
  763.      also be deselected.
  764.  
  765. +    {select-auto}
  766.      Perform auto-selections in the group (see the section on "auto
  767.      kill/select" below).
  768.  
  769. =    {find}
  770.      Prompts for a regular expression, and selects all articles on the menu
  771.      (all pages) which matches the regular expression. Depending on the
  772.      variable select-on-sender matching is performed against the subject
  773.      (default) or the sender of the articles. An empty answer (= return) will
  774.      reuse the previous expression. Example: The command = . return will
  775.      select all articles in the group.
  776.  
  777. J    {junk-articles}
  778.      This is a very versatile command which can be used to perform all sorts
  779.      of attribute changes, either on individual articles, all articles on the
  780.      current menu page, all articles with a specific attribute, or all
  781.      available articles. To access all the functions of this command, the J
  782.      key may have to be hit up to four times, to loop through different
  783.      one-line menus. The full functionality of the junk-articles command is
  784.      described in a separate section below.
  785.  
  786. L    {leave-next}
  787.      This is a specialized version of the generic J {junk-articles} command to
  788.      set the leave-next attribute on a subset of the articles on the menu. It
  789.      is also described further below.
  790.  
  791. The following commands move between the pages belonging to the same news group
  792. when there are more articles than will fit on a single page. These commands
  793. will not change any article attributes.
  794.  
  795. >    {page+1}
  796.      Goto next menu page.
  797.  
  798. <    {page-1}
  799.      Goto previous menu page, or to last menu page if on first menu page.
  800.  
  801. $    {page=$}
  802.      Goto last menu page.
  803.  
  804. ^    {page=1}
  805.      Goto first menu page.
  806.  
  807. The following commands are used to enter reading mode for the selected
  808. articles, and to move between news groups (in selection mode). They may change
  809. article attributes if noted below.
  810.  
  811. space    {continue}
  812.      Continue to next menu page, or if on last menu page, read the selected
  813.      articles. If no articles have been selected, continue to the next news
  814.      group. The unread articles on the current menu page will automatically be
  815.      marked seen.
  816.  
  817. return    {continue-no-mark}
  818.      Identical to the continue command, except that the unread articles on the
  819.      current menu page will remain unread. (The newline key has the same
  820.      effect).
  821.  
  822. Z    {read-return}
  823.      Enter reading mode immediately with the currently selected articles. When
  824.      all articles have been read, return to selection mode in the current
  825.      group. It will mark selected articles read as they are read, but unread
  826.      articles are not normally changed (can be controlled with the variable
  827.      marked-by-read-return.)
  828.  
  829. X    {read-skip}
  830.      Mark all unmarked articles seen on all menu pages (or the pages defined
  831.      by the marked-by-read-skip variable), and enter reading mode immediately
  832.      with the currently selected articles. As the selected articles are read,
  833.      they are marked read. When all selected articles have been read, nn will
  834.      enter selection mode in the next news group. When no articles are
  835.      selected, it goes directly to the next group. This can be used to skip
  836.      all the articles in a large news group without having to go through all
  837.      the menu pages.
  838.  
  839. If you don't want to read the current group now, but want to keep it for
  840. later, you can use the following commands which will only mark seen and read
  841. articles as read. Currently selected articles will still be selected the next
  842. time you enter the group. None of these commands will change any attributes
  843. themselves (by default).
  844.  
  845. N    {next-group}
  846.      Go forward to the next group in the presentation sequence. If the
  847.      variable marked-by-next-group is set articles on the menu can optionally
  848.      be marked seen
  849.  
  850. P    {previous}
  851.      Go back to the previous group. This command will enter selection mode on
  852.      the last active group (two P commands in sequence will bring you to the
  853.      current group). If there are still some unread articles in the group,
  854.      only those articles will be shown. Otherwise, all the articles which were
  855.      unread when nn was invoked will be shown marked with the read attribute
  856.      (which can be changed as usual).
  857.  
  858. As described in the "Article Attributes" section, the read and seen articles
  859. will normally be marked read when you leave the group, and these articles are
  860. not shown the next time you enter the group.
  861.  
  862. In all releases prior to release 6.4, it was impossible to have individual
  863. articles in a group marked unread when you left a group, and the default
  864. behavior of release 6.4 onwards will closely match the traditional behavior.
  865. This means that the seen and read articles are treated alike for most
  866. practical purposes with the default variable settings.
  867.  
  868. If you don't like nn to silently mark the seen articles read, you can set the
  869. variable confirm-junk-seen to get nn to prompt you for confirmation before
  870. doing this, or you can unset the variable auto-junk-seen to simply keep the
  871. seen articles for the next time you enter the group. You then have to use the
  872. J {junk-articles} to mark articles read.
  873.  
  874. Using return {continue-no-mark} will also allow you to keep articles unread
  875. rather than marking them seen when scrolling through the menu pages and
  876. entering reading mode. If this is your preferred reading style, you can remap
  877. space to this command.
  878.  
  879. Other commands
  880.  
  881.  {reload}
  882.      Update group information by rereading active file
  883.  
  884. Related variables: auto-junk-seen, auto-preview-mode, auto-select-subject,
  885. case-fold-search, confirm-auto-quit, confirm-entry, confirm-junk-seen,
  886. marked-by-next-group, marked-by-read-return, marked-by-read-skip,
  887. retain-seen-status, select-on-sender.
  888.  
  889. From: NN
  890. Subject: CONSOLIDATED MENUS
  891.  
  892. Normally, nn will use one menu line for each article, so if there are many
  893. articles with identical subjects, each menu page will only contain a few
  894. different subjects. To have each subject occur only once on the menu, nn can
  895. operate with consolidated menus by setting the variable consolidated-menu.
  896.  
  897. When consolidated menus are used, nn operates with two kinds of subjects: open
  898. and closed.
  899.  
  900. An open subject is a subject which is shown in the traditional way with one
  901. menu line for each article with the given subject. In other words, when
  902. consolidated menus are not used, all subjects are open (by default).
  903.  
  904. A closed subject is a multi-article subject which is presented by a single
  905. menu line. This line will be the normal menu line for the first (oldest)
  906. article with the subject, but with the subject field annotated with a
  907. bracketed number showing the number of articles with that subject, e.g.
  908.       a Kim F. Storm 12 [4] Future plans for nn
  909.       b.Kim F. Storm 43 [3] More plans for nn
  910. In this example, there are four unread articles with subject `a' of which the
  911. first is posted by me and has 12 lines. The rest of the articles are hidden,
  912. and will only be shown on request. The `.' marker on subject `b' shows that
  913. all three articles within that subject have been read (or seen).
  914.  
  915. To select (or deselect) ALL the articles within a closed subject, simply
  916. select the article shown on the menu; this will automatically select (or
  917. deselect) the rest (see auto-select-closed). When all the unread articles
  918. within a closed subject are selected, the menu line will be high-lighted.
  919.  
  920. If you want to view the individual articles in a subject (maybe to select
  921. individual articles), you can open the subject with the commands:
  922.  
  923. (x   Open subject x on menu.
  924.  
  925. ((   Open current subject.
  926.  
  927. When you have completed viewing the opened subject, you can close it again
  928. using the commands:
  929.  
  930. )x   Close subject x on menu (x is any article with the subject).
  931.  
  932. ))   Close current subject.
  933.  
  934. In the basic layout of the menu line for a closed subject as shown above, ALL
  935. articles in the closed subject are supposed to be either:
  936.  
  937. unread
  938.      The menu line is not high-lighted.
  939.  
  940. selected
  941.      Menu line is fully high-lighted (if all UNREAD are selected).
  942.  
  943. read/seen
  944.      There is a `.' (read attribute) following the article id.
  945.  
  946. If neither of these cases apply, i.e. there is a mixture of unread, selected,
  947. and seen/read articles, the bracketed number will have one of the following
  948. formats:
  949.  
  950. [U:T]
  951.      There are U unread articles of T total (U<T).
  952.  
  953. [S/T]
  954.      There are S selected articles of T total (S<U=T).
  955.  
  956. [S/U:T]
  957.      There are S selected of U unread of T total (S<U<T).
  958.  
  959. If there are any selected articles (S>0), the information between the brackets
  960. will be high-lighted (to show that something is selected, but not all the
  961. unread articles).
  962.  
  963. Notice: Consolidated menus only work with the `subject', `thread-lexical'and
  964. `lexical' sorting methods.
  965.  
  966. Variables related to consolidated menus are: auto-select-closed,
  967. consolidated-menu, counter-delim-left, counter-delim-right, counter-padding,
  968. save-closed-mode.
  969.  
  970. From: NN
  971. Subject: THE JUNK-ARTICLES AND LEAVE-NEXT COMMANDS
  972.  
  973. The J {junk-articles} command is a very flexible command which can perform all
  974. sorts of attribute changes, either on individual articles, all articles on the
  975. current menu page, all articles with a specific attribute, or all available
  976. articles.
  977.  
  978. To access all the functions of this command, the J key may have to be hit up
  979. to four times, to loop through different one-line menus:
  980.  
  981. Mark Read
  982.      This submenu allows you to mark articles read.
  983.  
  984. Unmark
  985.      This submenu allows you to mark articles unread.
  986.  
  987. Select
  988.      This submenu allows you to select articles based on their attribute.
  989.  
  990. Kill This submenu allows you to mark articles read and remove them from the
  991.      menu based on their attribute.
  992.  
  993. The L {leave-next} command is an extension of the J command with a fifth menu:
  994.  
  995. Leave
  996.      This menu allows you to mark articles for later handling with the
  997.      leave-next attribute which will keep the article unread until you
  998.      explicitly change the attribute (e.g. by reading it) or it is expired.
  999.  
  1000. For each of these submenus, nn will list the most plausible choices you may
  1001. use, but all of the following answers can be used at all submenus. When you
  1002. have entered a choice, nn will afterward ask whether the change should be made
  1003. to all menu pages or only the current page.
  1004.  
  1005. J    Show next submenu.
  1006.  
  1007. L    Change attribute on all leave articles.
  1008.  
  1009. N    Change attribute on all leave-next articles.
  1010.  
  1011. R    Change attribute on all read articles.
  1012.  
  1013. S    Change attribute on all seen articles.
  1014.  
  1015. U    Change attribute on all unmarked (i.e. unread) articles.
  1016.  
  1017. A    Change attribute on all articles no matter their current attribute.
  1018.  
  1019. *    Change attribute on all selected articles on the current page.
  1020.  
  1021. +    Change attribute on all selected articles on all pages.
  1022.  
  1023. a-z0-9
  1024.      Change attribute on one or more specific articles on the current page.
  1025.      You end the list of articles by a space or by using one of the other
  1026.      choices described above.
  1027.  
  1028. .    Change attribute on current article.
  1029.  
  1030. , /  Move the current article down or up the menu without changing any
  1031.      attributes.
  1032.  
  1033. From: NN
  1034. Subject: READING MODE COMMANDS
  1035.  
  1036. In reading mode, the selected articles are presented one page at a time. To
  1037. get the next page of an article, simply hit space, and when you are on the
  1038. last page of an article, hit space to get to the next selected article.
  1039. Articles are normally marked read when you go to the next article, while going
  1040. back to the menu, quitting nn, etc. will retain the attribute on the current
  1041. article.
  1042.  
  1043. When you are on the last page of the last article, hit space to enter
  1044. selection mode on the next group (or the current group if reading mode was
  1045. entered using the Z command).
  1046.  
  1047. To read an article, the following text scrolling commands are available:
  1048.  
  1049. space    {continue}
  1050.      Scroll one page forward or continue with the next article or group as
  1051.      described above.
  1052.  
  1053. backspace / delete  {page-1}
  1054.      Go one page backwards in article.
  1055.  
  1056. d    {page+1/2}
  1057.      Scroll one half page forward.
  1058.  
  1059. u    {page-1/2}
  1060.      Go one half page backwards.
  1061.  
  1062. return    {line+1}
  1063.      Scroll one line forward in the article.
  1064.  
  1065. tab    {skip-lines}
  1066.      Skip over lines starting with the same character as the last line on the
  1067.      current page. This is useful to skip over included text or to the next
  1068.      file in a shell archive.
  1069.  
  1070. ^    {page=1}
  1071.      Move to the first page (excluding the header) of the article.
  1072.  
  1073. $    {page=$}
  1074.      Move to the last page of the article.
  1075.  
  1076. gN    {line=@}
  1077.      Move to line N in the article.
  1078.  
  1079. /regexp    {find}
  1080.      Search forward for text matching the regular expression regexp in the
  1081.      article. If a matching text is found, it will be high-lighted.
  1082.  
  1083. .    {find-next}
  1084.      Repeat search for last regular expression.
  1085.  
  1086. h    {page=0}
  1087.      Show the header of the article, and continue from the top of the article.
  1088.  
  1089. H    {full-digest}
  1090.      If the current article is extracted from a digest, show the entire digest
  1091.      article including its header. Another H command will return to the
  1092.      current subarticle.
  1093.  
  1094. D    {rot13}
  1095.      Turn rot13 (caesar) decryption on and off for the current article, and
  1096.      redraw current page. If the article is saved while it is decrypted on the
  1097.      screen, it will be saved in decrypted form as well!
  1098.  
  1099. c    {compress}
  1100.      Turn compression on and off for the current article and redraw current
  1101.      page. With compression turned on, multiple spaces and tabs are shown as a
  1102.      single space. This makes it much easier to read right justified text
  1103.      which separate words with several spaces. (See also the compress
  1104.      variable)
  1105.  
  1106. The following commands are used to move among the selected articles.
  1107.  
  1108. n    {next-article}
  1109.      Move to next selected article. This command skips the rest of the current
  1110.      article, marks it read, and jumps directly to the first page of the next
  1111.      selected article (or to the next group if it was the last selected
  1112.      article).
  1113.  
  1114. l    {leave-article}
  1115.      Mark the current article with the leave attribute and continue with the
  1116.      next selected article. When all the selected articles in the current
  1117.      group have been read, these left over articles can be automatically
  1118.      selected and shown once more, or the treatment can be postponed to the
  1119.      next time you enter the group.
  1120.            This is particularly useful if you see an article which you may want
  1121.      to respond to unless one the following articles is already saying what
  1122.      you intended to say.
  1123.  
  1124. L    {leave-next}
  1125.      Mark the current article with the leave-next attribute and continue with
  1126.      the next selected article.
  1127.  
  1128. p    {previous}
  1129.      Goto previous article.
  1130.  
  1131. k    {next-subject}
  1132.      Kill subject. Skips rest of current article, and all following articles
  1133.      with the same subject. The skipped articles are marked read. To kill a
  1134.      subject permanently use the K command.
  1135.  
  1136. *    {select-subject}
  1137.      Show next article with same subject (even if it is not selected). This
  1138.      command will select all following articles with the same subject as the
  1139.      current article (similar to the `*' command in selection mode). This can
  1140.      be used to select only the first article on a subject in selection mode,
  1141.      and then select all follow-ups in reading mode if you find the article
  1142.      interesting.
  1143.  
  1144. a    {advance-article}
  1145.      Goto the following article on the menu even if it is not selected. This
  1146.      command skips the rest of the current article and jumps directly to the
  1147.      first page of the next article (it will not skip to the next group if it
  1148.      is the last article). The attribute on the current article will be
  1149.      restored, except for the unread attribute which will be changed to seen.
  1150.  
  1151. b    {back-article}
  1152.      Goto the article before current article on the menu even if it is not
  1153.      selected. This is similar to the a command, except for the direction.
  1154.  
  1155. The following commands perform an immediate return from reading mode to
  1156. selection mode in the current group or skip to the next group.
  1157.  
  1158. =    {goto-menu}
  1159.      Return to selection mode in the current group (think of = as the "icon"
  1160.      of the selection menu). The articles read so far will be marked read.
  1161.  
  1162. N    {next-group}
  1163.      Skip the rest of the selected and unread articles in the current group
  1164.      and go directly to the next group. Only the read (and seen) articles in
  1165.      the current group are marked as read.
  1166.  
  1167. X    {read-skip}
  1168.      Mark all articles in the current group as read and go directly to the
  1169.      next group. (You will be asked to confirm this command.)
  1170.  
  1171. Related variables: case-fold-search, charset, compress, data-bits, date,
  1172. header-lines, mark-overlap, monitor, overlap, scroll-clear-page, stop,
  1173. trusted-escape-codes, wrap-header-margin.
  1174.  
  1175. From: NN
  1176. Subject: PREVIEWING ARTICLES IN SELECTION MODE
  1177.  
  1178. In selection mode, it is possible to read a specific article on the menu
  1179. without entering reading mode for all the selected articles on the menu. Using
  1180. the commands described below will enter reading mode for one article only, and
  1181. then return to the menu mode immediately after (depending on the setting of
  1182. the preview-continuation variable).
  1183.  
  1184.     If there are more than 5 free lines at the bottom of the menu screen, nn
  1185. will use that space to show the article (a minimal preview window can be
  1186. permanently allocated with the window variable). Otherwise, the screen will be
  1187. cleared to show the article.
  1188.  
  1189.     After previewing an article, it will be marked read (if the
  1190. preview-mark-read variable is set), and the following article will become the
  1191. current article.
  1192.  
  1193. %x    {preview}
  1194.      Preview article x.
  1195.  
  1196. %%    {preview}
  1197.      Preview the current article.
  1198.  
  1199. When the article is being shown, the following reading mode commands are very
  1200. useful:
  1201.  
  1202. =    {goto-menu}
  1203.      Skip the rest of the current article, and return to menu mode.
  1204.  
  1205. n    {next-article}
  1206.      Skip the rest of the current article, and preview the next article.
  1207.  
  1208. l    {leave-article}
  1209.      Mark the article as selected (!) on the menu for handling later on. Then
  1210.      skip the rest of the current article, and preview the next article.
  1211.  
  1212. %y    {preview}
  1213.      Preview article y .
  1214.  
  1215. If the variable auto-preview-mode is set, just hitting the article id in menu
  1216. mode will enter preview mode on the specified article.
  1217.  
  1218. Related variables: auto-preview-mode, min-window, preview-continuation,
  1219. preview-mark-read, window.
  1220.  
  1221. From: NN
  1222. Subject: SAVING ARTICLES
  1223.  
  1224. The following commands are used to save articles in files, unpack archives,
  1225. decode binaries, etc. It is possible to use the commands in both reading mode
  1226. to save the current article and in selection mode to save one or more articles
  1227. on the menu.
  1228.  
  1229. The saved articles will be appended to the specified file(s) followed by an
  1230. empty line each. Both files and directories will be created as needed. When an
  1231. article has been saved in a file, a message reporting the number of lines
  1232. saved will be shown if the save-report variable is set (default on).
  1233.  
  1234. S    {save-full}
  1235.      Save articles including the full article header.
  1236.  
  1237. O    {save-short}
  1238.      Save articles with a short header containing only the name of the sender,
  1239.      the subject, and the posting date of the article.
  1240.  
  1241. W    {save-body}
  1242.      Write article without a header.
  1243.  
  1244. :print    {print}
  1245.      Print article. Instead of a file name, this command will prompt for the
  1246.      print command to which the current article will be piped. The default
  1247.      print command is specified at compile time, but it can be changed by
  1248.      setting the printer variable. The output will be identical to that of the
  1249.      O command.
  1250.  
  1251. :patch    {patch}
  1252.      Send articles through patch(1) (or the program defined in the
  1253.      patch-command variable). Instead of a file name, you will be prompted for
  1254.      the name of a directory in which you want the patch command to be
  1255.      executed. nn will then pipe the body of the article through the patch
  1256.      command.
  1257.            The output from the patch process will be shown on the screen and
  1258.      also appended to a file named Patch.Result in the patch directory.
  1259.  
  1260. :unshar    {unshar}
  1261.      Unshar articles. You will be prompted for the name of a directory in
  1262.      which you want nn to unshar the articles. nn will then pipe the proper
  1263.      parts of the article body into a Bourne Shell whose working directory
  1264.      will be set to the specified directory.
  1265.            During the unpacking, the normal output from the unshar process will
  1266.      appear on the screen, and the menu or article text will be redrawn when
  1267.      the process is finished.
  1268.            The output is also appended to a file named Unshar.Result in the
  1269.      unshar directory.
  1270.            The file specified in unshar-header-file (default "Unshar.Headers")
  1271.      in the unshar directory will contain the header and initial text (before
  1272.      the shar data) from the article. You can use the `G' {goto-group} command
  1273.      to look at the Unshar.Headers file.
  1274.  
  1275. :decode    {decode}
  1276.      Decode uuencoded articles into binary files. You will be prompted for the
  1277.      name of a directory in which you want nn to place the decoded binary
  1278.      files (the file names are taken from the uuencoded data).
  1279.            nn will combine several articles into single files as needed, and
  1280.      you can even decode unrelated packages (into the same directory) with one
  1281.      decode command.
  1282.            To be able to decode a binary file which spans several articles, nn
  1283.      may have to ignore lines which fail the normal sanity checks on uuencoded
  1284.      data instead of treating them as transmission errors. Consequently, it is
  1285.      strongly recommended to check the resulting decoded file using the
  1286.      checksum which is normally contained in the original article. (Actually,
  1287.      you are also supposed to do this after decoding with a stand-alone
  1288.      uudecode program).
  1289.            The header and initial information in the decoded articles are saved
  1290.      in the file specified in decode-header-file (default "Decode.Headers") in
  1291.      the same directory as the decoded files.
  1292.            If decode-skip-prefix is non-null, :decode will attempt to ignore up
  1293.      to that many characters on each line to find the encoded data. This is
  1294.      particularly useful in some binaries groups where files are both
  1295.      uuencoded and packed with shar; nn will ignore the prefix added to each
  1296.      line by shar, and thus be able to unshar, concatenate, and decode
  1297.      multi-part postings automatically.
  1298.  
  1299. :deview    {deview}
  1300.      This decodes uuencoded, xxencoded, MIME and BinHex encoded articles. You
  1301.      will be prompted for the name of a directory in which you want nn to
  1302.      place the decoded binary files (the file names are taken from the encoded
  1303.      data).
  1304.            nn will combine several articles into single files as needed, and
  1305.      you can even decode unrelated packages (into the same directory) with one
  1306.      deview command.
  1307.            The deview command processes the articles and then prompts for each
  1308.      file whether to decode it or not, the deview-noprompt variable can be
  1309.      used to turn off this prompting.
  1310.            This is a superior replacement for :decode
  1311.  
  1312. In reading mode, the following keys can also be used to invoke the save
  1313. commands:
  1314.  
  1315. s    Same as S.
  1316.  
  1317. o    Same as O.
  1318.  
  1319. w    Same as W.
  1320.  
  1321. P    Same as :print.
  1322.  
  1323. The save commands will prompt for a file name which is expanded according to
  1324. the rules described in the section on file name expansion below. For each
  1325. group, it is possible to specify a default save file in the init file, either
  1326. in connection with the group presentation sequence or in a separate save-files
  1327. section (see below). If a default save file is specified for the group, nn
  1328. will show this on the prompt line when it prompts for the file name. You can
  1329. edit this name as usual, but if you kill the entire name immediately, nn will
  1330. replace the default name with the last file name you entered. If you kill this
  1331. as well, nn will leave you with a blank line.
  1332.  
  1333. If the quick-save variable is set, nn will only prompt for a save file name
  1334. when the current article is inside a folder; otherwise, the default save file
  1335. defined in the init file will be used unconditionally.
  1336.  
  1337. If the file (and directories in the path) does not exist, nn will ask whether
  1338. the file (and the directories) should be created.
  1339.  
  1340. If the file name contains an asterisk, e.g.
  1341.       part*.shar nn will save each of the articles in uniquely named files
  1342. constructed by replacing the asterisk by numbers from the sequence 1, 2, 3,
  1343. etc. The format of the string that replaces the * can be changed with the
  1344. save-counter variable, and the first number to use can be changed via
  1345. save-counter-offset.
  1346.  
  1347.     In selection mode, nn will prompt you for the identifier of one or more
  1348. articles you want to save. When you don't want to save more articles, just hit
  1349. space. The saved articles will be marked read.
  1350.  
  1351. If you enter an asterisk `*' when you are prompted for an article to save, nn
  1352. will automatically save all the selected articles on the current menu page and
  1353. mark them read.
  1354.  
  1355. Likewise, if you enter a plus `+', nn will save all the selected articles on
  1356. all menu pages and mark them read.
  1357.  
  1358. This is very useful to unpack an entire package using the :unshar and :decode
  1359. commands. It can also be used in combination with the save selected articles
  1360. feature to save a selection of articles in separate, successively numbered
  1361. files. But do not confuse these two concepts! The S* and S+ commands can be
  1362. used to save the selected articles in a single file as well as in separate
  1363. files, and the save in separate files feature can be used also when saving
  1364. individual articles, either in the selection mode, or in the article reading
  1365. mode.
  1366.  
  1367. When articles are saved in a file with a full or partial header, any header
  1368. lines in the body of the article will be escaped by a tilde (e.g. ~From: ...)
  1369. to enable nn to split the folder into separate articles. The escape string can
  1370. be redefined via the embedded-header-escape variable.
  1371.  
  1372. Articles can optionally be saved in MAIL or MMDF compatible format by setting
  1373. the mail-format and mmdf-format variables. These variables only specify the
  1374. format used when creating a new folder, while appending to an existing folder
  1375. will be done in the format of the folder (unless folder-format-check is
  1376. false).
  1377.  
  1378. Related variables: confirm-append, confirm-create, decode-header-file,
  1379. decode-skip-prefix, default-save-file, folder-save-file, edit-patch-command,
  1380. edit-print-command, edit-unshar-command, folder, folder-format-check,
  1381. mail-format, mmdf-format, patch-command, printer, quick-save, save-counter,
  1382. save-counter-offset, save-report, suggest-default-save, unshar-command,
  1383. unshar-header-file.
  1384.  
  1385. From: NN
  1386. Subject: FOLDER MAINTENANCE
  1387.  
  1388. When more than one article is saved in a folder, nn is able to split the
  1389. folder, and each article in the folder can be treated like a separate article.
  1390.  
  1391. This means that you can save, decode, reply, follow-up, etc. just as with the
  1392. original article.
  1393.  
  1394. You can also cancel (delete) individual articles in a folder using the normal
  1395. C {cancel} command described later. When you quit from the folder, you will
  1396. then be given the option to remove the canceled articles from the folder.
  1397.  
  1398. The original folder is saved in a file named `BackupFolder~' in the .nn
  1399. directory (see the backup-folder-path variable) by renaming or copying the old
  1400. folder as appropriate. When the folder has been compressed, the backup folder
  1401. will be removed unless the variable keep-backup-folder is set.
  1402.  
  1403. If all articles in a folder are canceled, the folder will be removed or
  1404. truncated to zero length (whatever is allowed by directory and file
  1405. permissions). In this case no backup folder is retained even when
  1406. keep-backup-folder is set!
  1407.  
  1408. If the variable trace-folder-packing is set, nn will show which articles are
  1409. kept and which are removed as the folder is rewritten.
  1410.  
  1411. Folders are rewritten in the format of the original folder, i.e. the
  1412. mail-format and mmdf-format variables are ignored.
  1413.  
  1414. Related variables: backup-folder-path, keep-backup-folder,
  1415. trace-folder-packing.
  1416.  
  1417. From: NN
  1418. Subject: FILE NAME EXPANSION
  1419.  
  1420. When the save commands prompts for a file name, the following file name
  1421. expansions are performed on the file name you enter:
  1422.  
  1423. +folder
  1424.      The + is replaced by the contents of the folder variable (default value
  1425.      "~/News/") resulting in the name of a file in the folder directory.
  1426.      Examples:
  1427.            +emacs, +nn, +sources/shar/nn
  1428.  
  1429. +    A single plus is replaced by the expansion of the file name contained in
  1430.      the default-save-file variable (or by folder-save-file when saving from a
  1431.      folder).
  1432.  
  1433. ~/file
  1434.      The ~ is replaced by the contents of the environment variable HOME, i.e.
  1435.      the path name of your home directory. Examples:
  1436.            ~/News/emacs, ~/News/nn, ~/src/shar/nn
  1437.  
  1438. ~user/file
  1439.      The ~user part is replaced by the user's home directory as defined in the
  1440.      /etc/passwd file.
  1441.  
  1442. |command-line
  1443.      Instead of writing to a file, the articles are piped to the given shell
  1444.      (/bin/sh) command-line. Each save or write command will create a separate
  1445.      pipe, but all articles saved or written in one command (in selection
  1446.      mode) are given as input to the same shell command. Example:
  1447.            | pr | lp This will print the articles on the printer after they
  1448.      have been piped through pr.
  1449.            It is possible to create separate pipes for each saved article by
  1450.      using a double pipe symbol in the beginning of the command, e.g.
  1451.            || cd ~/src/nn ; patch
  1452.  
  1453. The following symbols are expanded in a file name or command:
  1454.  
  1455. $F   will be expanded to the name of the current group with the periods
  1456.      replaced by slashes, e.g. rec/music/synth.
  1457.  
  1458. $G   will be expanded to the name of the current group.
  1459.  
  1460. $L   will be expanded to the last component of the name of the current group.
  1461.      You may use this to create default save file names like +src/$L in the
  1462.      comp.sources groups.
  1463.  
  1464. $N   will be expanded to the (local) article number, e.g. 1099. In selection
  1465.      mode it is only allowed at the end of the file name!
  1466.  
  1467. $(VAR)
  1468.      is replaced by the string value of the environment variable VAR.
  1469.  
  1470. Using these symbols, a simple naming scheme for `default folder name' is +$G
  1471. which will use the group name as folder name. Another possibility is +$F/$N.
  1472.  
  1473. As mentioned above, you can also instruct nn to save a series of files in
  1474. separate, unique files. All that is required is that the file name contains an
  1475. asterisk, e.g.
  1476.       +src/hype/part*.shar This will cause each of the articles to be saved in
  1477. separate, unique files named part1.shar, part2.shar, and so on, always
  1478. choosing a part number that results in a unique file name (i.e. if part1.shar
  1479. did already exist, the first article would be saved in part2.shar, the next in
  1480. part3.shar, and so on).
  1481.  
  1482. Related variables: default-save-file, folder, folder-save-file, save-counter,
  1483. save-counter-offset.
  1484.  
  1485. From: NN
  1486. Subject: FILE AND GROUP NAME COMPLETION
  1487.  
  1488. When entering a file name or a news group name, a simple completion feature is
  1489. available using the space, tab, and ? keys.
  1490.  
  1491. Hitting space anywhere during input will complete the current component of the
  1492. file name or group name with the first available possibility.
  1493.  
  1494. If this possibility is not the one you want, keep on hitting space until it
  1495. appears.
  1496.  
  1497. When the right completion has appeared, you can just continue typing the file
  1498. or group name, or you can hit tab to fix the current component, and get the
  1499. first possibility for the next component, and then use space to go through the
  1500. other possible completions.
  1501.  
  1502. The ? key will produce a list of the possible completions of the current
  1503. component. If the list is too long for the available space on screen, the key
  1504. can be repeated to get the next part of the list.
  1505.  
  1506. The current completion can be deleted with the erase key.
  1507.  
  1508. The default value for a file name is the last file name you have entered, so
  1509. if you enter a space as the first character after the prompt, the last file
  1510. name will be repeated (and you can edit it if you like). In some cases, a
  1511. string will already be written for you in the prompt line, and to get the
  1512. default value in these cases, use the kill key. This also means that if you
  1513. neither want the initial value, nor the default value, you will have to hit
  1514. the kill twice to get a clean prompt line.
  1515.  
  1516. Related variables: comp1-key, comp2-key, help-key, suggest-default-save.
  1517.  
  1518. From: NN
  1519. Subject: POSTING AND RESPONDING TO ARTICLES
  1520.  
  1521. In both selection mode and reading mode you can post new articles, post
  1522. follow-ups to articles, send replies to the author of an article, and you can
  1523. send mail to another user with the option of including an article in the
  1524. letter. In reading mode, a response is made to the current article, while in
  1525. selection mode you will be prompted for an article to respond to.
  1526.  
  1527. The following commands are available (the lower-case equivalents are also
  1528. available in reading mode):
  1529.  
  1530. R    {reply}
  1531.      Reply through mail to the author of the article. This is the preferred
  1532.      way to respond to an article unless you think your reply is of general
  1533.      interest.
  1534.  
  1535. F    {follow}
  1536.      Follow-up with an article in the same newsgroup (unless an alternative
  1537.      group is specified in the article header). The distribution of the
  1538.      follow-up is normally the same as the original article, but this can be
  1539.      modified via the follow-distribution variable.
  1540.  
  1541. M    {mail}
  1542.      Mail a letter or forward an article to a single recipient. In selection
  1543.      mode, you will be prompted for an article to include in your letter, and
  1544.      in reading mode you will be asked if the current article should be
  1545.      included in the letter. You will then be prompted for the recipient of
  1546.      the letter (default recipient is yourself) and the subject of the letter
  1547.      (if an article is included, you may hit space to get the default subject
  1548.      which is the subject of the included article).
  1549.            The header of the article is only included in the posted letter if
  1550.      it is forwarded (i.e. not edited), or if the variable include-full-header
  1551.      is set.
  1552.  
  1553. :post    {post}
  1554.      Post a new article to any newsgroup. This command will prompt you for a
  1555.      comma-separated list of newsgroups to post to (you cannot enter a space
  1556.      because space is used for group name completion as described below).
  1557.            If you enter ? {help-key} as the first key, nn will show you a list
  1558.      of all available news groups and their purpose. While paging through this
  1559.      list, you can enter q to quit looking at the list. You can also enter /
  1560.      followed by a regular expression (typically a single word) which will
  1561.      cause nn to show a (much shorter) list containing only the lines matching
  1562.      the regular expression.
  1563.            Normally, you will be prompted for the distribution of the article
  1564.      with the default take from default-distribution, but this can be changed
  1565.      via the post-distribution variable.
  1566.  
  1567. Generally, nn will construct a file with a suitable header, optionally include
  1568. a copy of the article in the file with each non-empty line prefixed by a `>'
  1569. character (except in mail mode), and invoke an editor of your choice (using
  1570. the EDITOR environment variable) on this file, positioning you on the first
  1571. line of the body of the article (if it knows the editor).
  1572.  
  1573.     When you have completed editing the message, it will compare it to the
  1574. unedited file, and if they are identical (i.e. you did not make any changes to
  1575. the file), or it is empty, the operation is canceled. Otherwise you will be
  1576. prompted for an action to take on the constructed article (enter first letter
  1577. followed by return, or just return to take the default action):
  1578.       a)bort c)c e)dit h)old i)spell m)ail p)ost r)eedit s)end v)iew w)rite
  1579. 7)bit
  1580.       Action: (post article)
  1581. You now have the opportunity to perform one of the following actions:
  1582.  
  1583.     a    throw the response away (will ask for confirmation),
  1584.     c    mail a copy of a follow-up to the poster of the article,
  1585.     e    edit the file again,
  1586.     h    hold response for later completion,
  1587.     i    run an (interactive) spell-checker on the text,
  1588.     m    mail a (blind) copy to a specified recipient,
  1589.     n    same as abort (no don't post),
  1590.     p    post article (same as send),
  1591.     r    throw away the edited text and edit the original text,
  1592.     s    send the article or letter,
  1593.     v    view the article (through the pager),
  1594.     w    append it to a file (before you send it),
  1595.     y    confirm default answer (e.g. yes post it), or
  1596.     7    strip the high-order bit from all characters in the message
  1597.  
  1598. If you have selected a 7-bit character set (this is determined by the values
  1599. of the charset and data-bits variables), nn will not allow you to post an
  1600. article or send a letter whose body contains characters with the high-order
  1601. bit set. It will warn you after you have first edited the message and disable
  1602. the c)c, m)ail, p)ost, s)end and y)es actions. You can then either e)dit the
  1603. message to delete those characters, use 7)bit to strip the high-order bits,
  1604. a)bort the message, or h)old it and select an 8-bit character set from nn.
  1605.  
  1606. To complete an unfinished response saved by the h)old command, simply enter
  1607. any response action, e.g. R {reply}. This will notice the unfinished response
  1608. and ask you whether you want to complete it now. Only one unfinished response
  1609. can exist at a time. Notice that the $A environment variable may no longer be
  1610. valid as a path to the original article when the response is completed.
  1611.  
  1612. If your message contains 8-bit characters, the charset variable is not set to
  1613. "unknown" and the message does not already have a MIME-Version or Content-XXX
  1614. header, nn will add the following headers to your message before sending it:
  1615.       MIME-Version: 1.0
  1616.       Content-Type: text/plain; charset=charset
  1617.       Content-Transfer-Encoding: 8bit
  1618. It must be noted that sending 8-bit characters over the current news and mail
  1619. networks is risky at best; although large parts of the network will pass
  1620. through such characters unchanged, high-order bits may occasionally be
  1621. stripped. Although the MIME standard provides solutions for this by encoding
  1622. the characters, this is not yet supported by nn. Adding the above headers is
  1623. an interim solution that is compatible with current practice and is much
  1624. better than just sending the message without any hints about the character set
  1625. used.
  1626.  
  1627. Related variables: append-signature-mail, append-signature-post, charset,
  1628. data-bits, default-distribution, follow-distribution, post-distribution,
  1629. edit-response-check, editor, include-art-id, include-full-header,
  1630. included-mark, mail-header, mail-record, mail-script, mailer,
  1631. mailer-pipe-input, news-header, news-record, news-script,
  1632. orig-to-include-mask, pager, query-signature, record, response-check-pause,
  1633. response-default-answer, save-counter, save-counter-offset, save-report,
  1634. spell-checker.
  1635.  
  1636. From: NN
  1637. Subject: JUMPING TO OTHER GROUPS
  1638.  
  1639. By default nn will present the news groups in a predefined sequence (see the
  1640. section on Presentation Sequence later on). To override this sequence and have
  1641. a look at any other group the G {goto-group} command available in both
  1642. selection and reading mode enables you to move freely between all the
  1643. newsgroups.
  1644.  
  1645. Furthermore, the G command enables you to open folders and other files, to
  1646. read old articles you have read before, and to grep for a specific subject in
  1647. a group.
  1648.  
  1649.     It is important to notice that normally the goto command is recursive, i.e.
  1650. a new menu level is created when the specified group or folder is presented,
  1651. and when it has been read, nn will continue the activity in the group that was
  1652. presented before the goto command was executed. However, if there are unread
  1653. articles in the target group you can avoid entering a new menu level by using
  1654. the j reply described below. The current menu level (i.e. number of nested
  1655. goto commands) will be shown in the prompt line as "<N>" (in reverse video).
  1656.  
  1657.     The goto command is very powerful, but unfortunately also a little bit
  1658. tricky at first sight, because the facilities it provides depend on the
  1659. context in which the command is used.
  1660.  
  1661.     When executed, the goto command will prompt you for the name of the
  1662. newsgroup, folder, or file to open. It will use the first letter you enter to
  1663. distinguish these three possibilities:
  1664.  
  1665. return
  1666.      An empty answer is equivalent to the current newsgroup.
  1667.  
  1668. letter
  1669.      The answer is taken to be the name of a newsgroup. If a news group with
  1670.      the given name does not exist, nn will treat the answer as a regular
  1671.      expression and locate the first group in the presentation sequence (or
  1672.      among all groups) whose name matches the expression.
  1673.  
  1674. +   
  1675.      The answer is taken to be the name of a folder. If only `+' is entered,
  1676.      it is equivalent to the default save file for the current group.
  1677.  
  1678. / or ./ or ~/
  1679.      The answer is taken to be the name of a file, either relative to the
  1680.      current directory, relative to your home directory, or an absolute path
  1681.      name for the file.
  1682.  
  1683. %    In reading mode, this reply corresponds to reading the current article
  1684.      (and splitting it as a digest). In selection mode, it will prompt for an
  1685.      article on the menu to read.
  1686.  
  1687. @    This choice is equivalent to the archive file for the current group.
  1688.  
  1689. = and number
  1690.      These answers are equivalent to the same answers described below applied
  1691.      to the current group (e.g. G return = and G = are equivalent).
  1692.  
  1693. Specifying a folder, a file, or an article (with %) will cause nn to treat the
  1694. file like a digest and split it into separate articles (not physically!) which
  1695. are then presented on a menu in the usual way, allowing you to read or save
  1696. individual subarticles from the folder.
  1697.  
  1698. When you enter a group name, nn will ask you how many articles in the group
  1699. you want to see on the menu. You can give the following answers:
  1700.  
  1701. a number N
  1702.      In this case you will get the newest N articles in the group, or if you
  1703.      specified the current group (by hitting return to the group name prompt
  1704.      or entering the number directly), you will get that many extra articles
  1705.      included on the same menu (without creating a new menu level).
  1706.  
  1707. j    This answer can only be given if there are unread articles in the group.
  1708.      It will instruct nn to jump directly to the specified group in the
  1709.      presentation sequence without creating a new menu level.
  1710.  
  1711. u    This instructs nn to present the unread articles in the group (if there
  1712.      are any). If you have already read the group (in the current invocation
  1713.      of nn), the u answer will instruct nn to present the articles that were
  1714.      unread when you entered nn.
  1715.  
  1716. a    This instruct nn to present all articles in the group.
  1717.  
  1718. sword or =word
  1719.      This instructs nn to search all articles in the groups, but only present
  1720.      the articles containing the word word in the subject. Notice that case is
  1721.      ignored when searching for the word in the subject lines.
  1722.  
  1723. nword
  1724.      Same as the s form except that it searched for articles where the sender
  1725.      name matches word.
  1726.  
  1727. eword
  1728.      Same as the s form except that it Searched for articles where either the
  1729.      subject or the sender name matches word.
  1730.  
  1731. word = /regexp
  1732.      When the first character of the word specified with the s, n, and e forms
  1733.      is a slash `/', the rest of the input is interpreted as a regular
  1734.      expression to search for. Notice that regular expression matching is case
  1735.      insensitive when case-fold-search is set (default).
  1736.  
  1737. return
  1738.      The meaning of an empty answer depends on the context: if there are
  1739.      unread articles in the specified group the unread articles will be
  1740.      presented, otherwise all articles in the group will be included in the
  1741.      menu.
  1742.  
  1743. If you specified the current group, and the menu already contains all the
  1744. available articles, nn will directly prompt for a word to search for in the
  1745. subject of all articles (the prompt will be an equal sign.)
  1746.  
  1747. When the goto command creates a new menu level, nn will not perform auto kill
  1748. or selection in the group. You can use the + command in menu mode to perform
  1749. the auto-selections.
  1750.  
  1751. There are three commands in the goto family:
  1752.  
  1753. G    {goto-group}
  1754.      This is the general goto command described above.
  1755.  
  1756. B    {back-group}
  1757.      Backup one or more groups. You can hit this key one or more times to go
  1758.      back in the groups already presented (including those without new
  1759.      articles); when you have found the group you are looking for, hit space
  1760.      to enter it.
  1761.  
  1762. A    {advance-group}
  1763.      Advance one or more groups. This command is similar to the B command, but
  1764.      operates in the opposite direction.
  1765.  
  1766. N    {next-group}
  1767.      When used within an A or B command, it skips forward to the next group in
  1768.      the sequence with unread articles or which has previously been visited.
  1769.  
  1770. P    {previous}
  1771.      When used within an A or B command, it skips backwards to the preceding
  1772.      group in the sequence with unread articles or which has previously been
  1773.      visited.
  1774.  
  1775. Once you have entered an A or Bcommand, you can freely mix the A, B, P, and N
  1776. commands to find the group you want, and you can also use the G command to be
  1777. prompted for a group name.
  1778.  
  1779. To show the use of the goto command some typical examples on its use are given
  1780. below:
  1781. "Present the unread articles in the dk.general group"
  1782.       G dk.general return u
  1783. "Jump directly to the gnu.emacs group and continue from there"
  1784.       G gnu.emacs return j
  1785. "Include the last 10 READ articles in the current group menu"
  1786.       G 10 return
  1787. "Find all articles in rec.music.misc on the subject Floyd"
  1788.       G rec.music.misc return
  1789.       = floyd return
  1790. "Open the folder +nn"
  1791.       G +nn return
  1792. "Split current article as a digest (in reading mode)"
  1793.       G %
  1794.  
  1795. Related variables: case-fold-search, default-save-file, folder-save-file
  1796.  
  1797. From: NN
  1798. Subject: AUTOMATIC KILL AND SELECTION
  1799.  
  1800. When there is a subject or an author which you are either very interested in,
  1801. or find completely uninteresting, you can easily instruct nn to auto-select or
  1802. auto-kill articles with specific subjects or from specific authors. These
  1803. instructions are stored in a kill file, and the most common types of entries
  1804. can be created using the following command:
  1805.  
  1806. K    {kill-select}
  1807.      Create an entry in your personal kill file. The contents of the entry is
  1808.      specified during a short dialog that is described in details below. This
  1809.      command is available in both selection and reading mode.
  1810.  
  1811. Entries in the kill file may apply to a single newsgroup or to all newsgroups.
  1812. Furthermore, entries may be permanent or they may be expired a given number of
  1813. days after their entry.
  1814.  
  1815. To increase performance, nn uses a compiled version of the kill file which is
  1816. read in when nn is invoked. The compiled kill file will automatically be
  1817. updated if the normal kill file has been modified.
  1818.  
  1819. The following dialog is used to build the kill file entry:
  1820.  
  1821. AUTO (k)ill or (s)elect (CR => Kill subject 30 days)
  1822.      If you simply want nn to kill all articles with the subject of the
  1823.      current article (in reading mode) or a specific article (which nn will
  1824.      prompt for in selection mode), just hit return. This will cause nn to
  1825.      create an entry in the kill file to kill the current (or specified)
  1826.      subject in the current group for a period of 30 days (which should be
  1827.      enough for the discussion to die out).
  1828.      You can control the default kill period, or change it into a "select"
  1829.      period via the default-kill-select variable.
  1830.      If this "default behavior" is not what you want, just answer either k or
  1831.      s to kill or select articles, respectively, which will bring you on to
  1832.      the rest of the questions.
  1833.  
  1834. AUTO SELECT on (s)ubject, (n)ame or >(c)ount crossposts (s)
  1835.      (The SELECT will be substituted with KILL depending on the previous
  1836.      answer). Here you specify whether you want the kill or select to depend
  1837.      on the subject of the article (s or space), or on the name of the author
  1838.      (n) or articles with greater than a specified numeb of crossposts.
  1839.  
  1840. SELECT NAME:
  1841.      (Again SELECT may be substituted with KILL and SUBJECT or >Crosspost may
  1842.      replace NAME). You must now enter a name (or subject or number) to select
  1843.      (or kill). In reading mode, you may just hit return (or %) to use the
  1844.      name (or subject) of the current article. In selection mode, you can use
  1845.      the name (or subject) from an article on the menu by answering with %
  1846.      followed by the corresponding article identifier.
  1847.      When the name or subject is taken from an article (the current or one
  1848.      from the menu), nn will only select or kill articles where the name or
  1849.      subject matches the original name or subject exactly including case.
  1850.      If the first character typed at the prompt is a slash `/', the rest of
  1851.      the line is used as a regular expression which is used to match the name
  1852.      or subject (case insensitive).
  1853.      Otherwise, nn will select or kill articles which contain the specified
  1854.      string anywhere in the name or subject (ignoring case).
  1855.  
  1856. SELECT in (g)roup `dk.general' or in (a)ll groups  (g)
  1857.      You must now specify whether the selection or kill should apply to the
  1858.      current group only (g or space) or to all groups (a).
  1859.  
  1860. Lifetime of entry in days (p)ermanent  (30)
  1861.      You can now specify the lifetime of the entry, either by entering a
  1862.      number specifying the number of days the entry should be active, or p to
  1863.      specify the entry as a permanent entry. An empty reply is equivalent to
  1864.      30 days.
  1865.  
  1866. CONFIRM SELECT ....
  1867.      Finally, you will be asked to confirm the entry, and you should
  1868.      especially note the presence or absence of the word exact which specify
  1869.      whether an exact match applies for the entry.
  1870.  
  1871. Related variables: default-kill-select, kill.
  1872.  
  1873. From: NN
  1874. Subject: THE FORMAT OF THE KILL FILE
  1875.  
  1876. The kill file consists of one line for each entry. Empty lines and lines
  1877. starting with a # character are ignored. nn automatically places a # character
  1878. in the first position of expired entries when it compiles the kill file. You
  1879. can then edit the kill file manually from time to time to clean out these
  1880. entries.
  1881.  
  1882. Each line has the following format
  1883.       [expire time :] [group name] : flags : string [: string]...
  1884.  
  1885. Permanent entries have no expire time (in which case the colon is omitted as
  1886. well!). Otherwise, the expire time defines the time (as a time_t value) when
  1887. the entry should be expired.
  1888.  
  1889. The group name field can have three forms:
  1890.  
  1891. news.group.name
  1892.      If it is the name of a single news group (e.g. comp.unix), the entry
  1893.      applies to that group only.
  1894.  
  1895. /regular expression
  1896.      If it starts with a slash `/' followed by a regular expression (e.g.
  1897.      /^news\..*), the entry applies to all groups whose name are matched by
  1898.      the regular expression.
  1899.  
  1900. empty
  1901.      An empty group field will apply the entry to all groups.
  1902.  
  1903. The flags field consists of a list of characters which identifies the type of
  1904. entry, and the interpretation of each string field. When used, the flag
  1905. characters must be used in the order in which they are described below:
  1906.  
  1907. ~    (optional)
  1908.      When this flag is present on any of the entries for a specific group, it
  1909.      causes all entries which are not auto-selected to be killed. This is a
  1910.      simple way to say: I'm interested in this and that, but nothing else.
  1911.  
  1912. +    or ! (optional)
  1913.      Specify an auto-select + or an auto-kill ! entry, respectively. If
  1914.      neither are used, the article is neither selected nor killed which is
  1915.      useful in combination with the `~' flag.
  1916.  
  1917. > (optional)
  1918.      When used with a subject (flag s), the kill entry only matches follow-ups
  1919.      to that subject (i.e. where the Subject: line starts with Re:). For
  1920.      example, to kill all "Re:"'s in rec.humor use the following kill entry:
  1921.      rec.humor:!>s/:.
  1922.  
  1923. < (optional)
  1924.      When used with a subject (flag s), the kill entry only matches base
  1925.      articles with that subject (i.e. where the Subject: line does not start
  1926.      with Re:). For example, to kill all articles asking for help (but not
  1927.      follow-ups) in the tex group, add this to your kill file:
  1928.            comp.text.tex:!s</:^HELP
  1929.  
  1930. One of nsfcClLa  (mandatory)
  1931.      .RS
  1932.  
  1933. Specify what the string applies to:
  1934.  
  1935. n    Matches part of the name of the sender of the article
  1936.  
  1937. s    Matches part of he subject of the article
  1938.  
  1939. f    Matches part of the full from line of the article
  1940.  
  1941. c    If the article is crossposted to less than N groups
  1942.  
  1943. C    If the article is crossposted to more than N groups
  1944.  
  1945. l    If the article is less than N lines
  1946.  
  1947. L    If the article is more than N lines
  1948.  
  1949. a    The string is ignored (but must be present), and the entry applies to
  1950.      articles with a non-empty References: line. .RE
  1951.  
  1952.  
  1953. / (optional)
  1954.      Specifies that the corresponding string is a regular expression which the
  1955.      sender or subject is matched against. If not specified, a simple string
  1956.      match is performed using the given string.
  1957.  
  1958. = (optional)
  1959.      Specifies that the match against the name or subject is case sensitive.
  1960.      Furthermore, when regular expression matching is not used, the name or
  1961.      subject must be of the same length of the string to match. Otherwise, the
  1962.      match will be case insensitive, and a string may occur anywhere in the
  1963.      name or subject to match.
  1964.  
  1965. | or & (mandatory if multiple strings)
  1966.      If more than one string is specified, the set of flags corresponding to
  1967.      each string must be separated by either an or operator `|' or an and
  1968.      operator `&'. The and operator has a higher precedence than the or
  1969.      operator, e.g. a complex match expression a|b&c|d will succeed if either
  1970.      of a, b&c, or d matches.
  1971.  
  1972. The string field in the entry is the name, subject or regular expression that
  1973. will be matched against the name or subject of each article in the group (or
  1974. all groups). Colons and backslashes must be escaped with a backslash in the
  1975. string.
  1976.  
  1977. Example 1: Auto-select articles from `Tom Collins' (exact) on subject `News'
  1978. in all groups:
  1979.       :+n=&s:Tom Collins:News
  1980. Example 2: Kill all articles which are neither from `Tom' or `Eve' in
  1981. some.group. Select only articles from Eve:
  1982.       some.group:~n:Tom
  1983.       some.group:+n:Eve
  1984. The second example can also be written as a single entry with an or operator
  1985. (in this case, the select/kill attribute only applies to the succeeding
  1986. strings):
  1987.       some.group:~n|+n:Tom:Eve
  1988.  
  1989. To remove expired entries, to "undo" a K command, and to make the more
  1990. advanced entries with more than one string, you will have to edit the kill
  1991. file manually. To recompile the file, you can use the :compile command. When
  1992. you invoke nn, it will also recompile the kill file if the compiled version is
  1993. out of dat.
  1994.  
  1995. From: NN
  1996. Subject: SHELL ESCAPES
  1997.  
  1998. The ! commands available in selection and reading mode are identical in
  1999. operation (with one exception). When you enter the shell escape command, you
  2000. will be prompted for a shell command. This command will be fed to the shell
  2001. specified in the shell variable (default loaded from the SHELL environment
  2002. variable or /bin/sh) after the following substitutions have been performed on
  2003. the command:
  2004.  
  2005. File name expansion
  2006.      The earlier described file name expansions will be performed on all
  2007.      arguments.
  2008.  
  2009. $G   will be substituted with the name of the current news group.
  2010.  
  2011. $L   will be substituted with the last component of the name of the current
  2012.      news group.
  2013.  
  2014. $F   will be substituted with the name of the current news group with the
  2015.      periods replaced by slashes.
  2016.  
  2017. $N   will be substituted with the (local) article number (only defined in
  2018.      reading mode).
  2019.  
  2020. $A   is replaced by the full path name of the file containing the current
  2021.      article (only defined in reading mode).
  2022.  
  2023. %    Same as $A.
  2024.  
  2025. $(VAR)
  2026.      is replaced by the string value of the environment variable VAR.
  2027.  
  2028. When the shell command is completed, you will be asked to hit any key to
  2029. continue. If you hit the ! key again, you will be prompted for a new shell
  2030. command. Any other key will redraw the screen and return you to the mode you
  2031. came from.
  2032.  
  2033. Related variables: shell, shell-restrictions.
  2034.  
  2035. From: NN
  2036. Subject: MISCELLANEOUS COMMANDS
  2037.  
  2038. Below are more useful commands which are available in both selection and
  2039. reading modes.
  2040.  
  2041. U    {unsub}
  2042.      Unsubscribe to the current group. You will not see this group any more
  2043.      unless you explicitly request it. If the variable unsubscribe-mark-read
  2044.      is set, all articles in the group will be marked read when you
  2045.      unsubscribe.
  2046.            If the variable keep-unsubscribed is not set, the group will be
  2047.      removed from .newsrc. If you are not subscribing to the group, you will
  2048.      be given the possibility to resubscribe to the group! This may be used in
  2049.      connection with the G command to resubscribe a group.
  2050.  
  2051. C    {cancel}
  2052.      Cancel (delete) an article in the current group or folder. Canceling
  2053.      articles in a folder will cause the folder to be rewritten when it is
  2054.      closed. In selection mode, you will be prompted for the identifier of the
  2055.      article to cancel. Normal users can only cancel their own articles. See
  2056.      also the section on folder maintenance.
  2057.  
  2058. Y    {overview}
  2059.      Provide an overview of the groups with unread articles.
  2060.  
  2061. "    {layout}
  2062.      Change menu layout in selection mode. The menu will be redrawn using the
  2063.      next layout (cycling through ..., 2, 3, 4, 0, 1, ...)
  2064.  
  2065. Most of the commands in nn are bound to a key and can be activated by a single
  2066. keystroke. However, there are a few commands that cannot be bound to a key
  2067. directly.
  2068.  
  2069. As shown in the keystroke command descriptions, all commands have a name, and
  2070. it is possible to activate a command by name with the extended command key
  2071. (:). Hitting this key will prompt you for the name of a command (and
  2072. parameters). For example, an alternative to hitting the R key to reply to an
  2073. article is to enter the extended command :reply followed by return. The :post
  2074. and :unshar commands described earlier can also be bound to a key. The
  2075. complete list of commands which can be bound to keys is provided in the
  2076. section on Key Mappings below.
  2077.  
  2078. The following extended commands cannot be bound to a key, mainly because they
  2079. require additional parameters on the prompt line, or because it should not be
  2080. possible to activate them too easily.
  2081.  
  2082. :bug Prepare and send a bug report to the nn-bugs mailing address.
  2083.  
  2084. :cd [ directory ]
  2085.      Change current working directory. If the directory argument is not
  2086.      provided, nn will prompt for it.
  2087.  
  2088. :clear
  2089.      Clear the screen (without redraw). This may be useful at the beginning of
  2090.      the init file (possibly guarded by "on program nn"), or in some macros.
  2091.  
  2092. :compile
  2093.      Recompile the kill file. This is not necessary under normal operation
  2094.      since nn automatically compiles the file on start-up if it has changed,
  2095.      but it can be used if you modify the kill file while nn is suspended.
  2096.  
  2097. :coredump
  2098.      Abort with a core dump. For debugging purposes only.
  2099.  
  2100. :define macro
  2101.      Define macro number macro as described in the Macro Definition section
  2102.      below. If macro is omitted, the next free macro number will be chosen.
  2103.  
  2104. :dump table
  2105.      Same as the :show command described below.
  2106.  
  2107. :help [ subject ]
  2108.      Provide online help on the specified subject. If you omit the subject, a
  2109.      list of the available topics will be given.
  2110.  
  2111. :load [ file ]
  2112.      Load the specified file. If the file argument is omitted, the init file
  2113.      is reloaded. The sequence part (if present) is ignored.
  2114.  
  2115. :local variable [ value ]
  2116.      Make the variable local to the current group. Subsequent changes to the
  2117.      variable will only be effective until the current group is left. If a
  2118.      value is specified, it will be assigned to the local variable. To assign
  2119.      a new value to a boolean variable, the values on and off must be used.
  2120.  
  2121. :lock variable
  2122.      Lock the specified variable so it cannot be modified.
  2123.  
  2124. :man Call up the online manual. The manual is presented as a normal folder
  2125.      with the program name in the `From' field and the section title in the
  2126.      `subject' field. All the normal commands related to a folder works for
  2127.      the online manual as well, e.g. you can save and print sections of the
  2128.      manual.
  2129.  
  2130. :map arguments
  2131.      This is the command used for binding commands to the keys. It is fully
  2132.      described in the Key Mapping section below.
  2133.  
  2134. :mkdir [ directory ]
  2135.      Create the directory (and the directories in its path). It will prompt
  2136.      for at directory name if the argument is omitted.
  2137.  
  2138. :motd
  2139.      Show the message of the day (maintained by the news administrator in the
  2140.      file "motd" in the lib directory. This file is automatically displayed on
  2141.      start-up whenever it changes if the motd variable is set.
  2142.  
  2143. :pwd Print path name of current working directory on message line.
  2144.  
  2145. :q   Has no effect besides redrawing the screen if necessary. If an extended
  2146.      command (one which is prefixed by a :) produces any output requiring the
  2147.      screen to be redrawn, the screen will not be redrawn immediately if the
  2148.      variable delay-redraw is set (useful on slow terminals). Instead another
  2149.      : prompt is shown to allow you to enter a new extended command
  2150.      immediately. It is sufficient to hit return to redraw the screen, but it
  2151.      has been my experience that entering q return in this situation happens
  2152.      quite often, so it was made a no-op.
  2153.  
  2154. :q!  Quit nn without updating the .newsrc file.
  2155.  
  2156. :Q   Quit nn. This is equivalent to the normal Q command.
  2157.  
  2158. :rmail
  2159.      Open your mailbox (see the mail variable) as a folder to read the
  2160.      incoming messages. This is not a full mail interface (depending on the nn
  2161.      configuration, you may not be able to delete messages, add cc: on
  2162.      replies, etc), but it can give you a quick glance at new mail without
  2163.      leaving nn.
  2164.  
  2165. :set variable [ value ]
  2166.      Set a boolean variable to true or assign the value to a string or integer
  2167.      variable. The :set command is described in details in the section on
  2168.      VARIABLES.
  2169.  
  2170. :sh  Suspend nn, or if that is not possible, spawn an interactive shell.
  2171.  
  2172. :show groups mode
  2173.      Show the total number or the number of unread articles in the current
  2174.      group, depending on mode: all (list the number of unread articles in all
  2175.      groups including groups which you have unsubscribed to), total (list the
  2176.      total number of articles in all existing groups), sequence (list unread
  2177.      groups in presentation sequence order), subscr (list all subscribed
  2178.      groups), unsub (list unsubscribed groups only). Any other mode results in
  2179.      a listing of the number of unread articles in all subscribed groups
  2180.      including those you have suppressed with the `!' symbol in the group
  2181.      presentation sequence. To get just the currently unread groups in the
  2182.      presentation sequence, use the `Y' {overview} command.
  2183.  
  2184. :show kill
  2185.      Show the kill entries that applies to the current group and to all
  2186.      groups.
  2187.  
  2188. :show rc [ group ]
  2189.      Show the .newsrc and select file entries for the current or the specified
  2190.      group.
  2191.  
  2192. :show map [ mode ]
  2193.      Show the key bindings in the current or specified mode.
  2194.  
  2195. :sort [ mode ]
  2196.      Reorder the articles on the menu according to mode or if omitted to the
  2197.      default sort-mode. The following sorting modes are available:
  2198.      arrival: list articles by local article number which will be the same as
  2199.      the order in which they arrived on the system (unless groups are merged),
  2200.      subject: articles with identical subjects are grouped and ordered after
  2201.      age of the oldest article in the group,
  2202.      lexical: subjects in lexicographical order,
  2203.      age: articles ordered after posting date only,
  2204.      sender: articles ordered after sender's name.
  2205.      thread-lexical: articles ordered by thread, threads by subject.
  2206.      thread-date: articles ordered by thread, threads by date.
  2207.  
  2208. :tk commands
  2209.      Call a set of TK commands (nn-tk)
  2210.  
  2211. :toggle variable
  2212.      Toggle a boolean variable.
  2213.  
  2214. :unread [ group ] [ articles ]
  2215.      Mark the current (or specified) group as unread. If the articles argument
  2216.      is omitted, the number of unread articles in the group will be set to the
  2217.      number of unread articles when nn was invoked. Otherwise, the argument
  2218.      specifies the number of unread articles.
  2219.  
  2220. :unset variable
  2221.      Set a boolean variable to false or clear an integer variable.
  2222.  
  2223. :x   Quit nn and mark all articles in the current group as read!
  2224.  
  2225. Related variables: backup, bug-report-address, delay-redraw,
  2226. keep-unsubscribed, unsubscribe-mark-read, mail, pager, sort-mode.
  2227.  
  2228. From: NN
  2229. Subject: CATCH UP
  2230.  
  2231. If you have not read news for some time, there are probably more news than you
  2232. can cope with. Using the option -a0 nn will put you into catch-up mode.
  2233.  
  2234. The first question you will get is whether to catch up interactively or
  2235. automatically. If you instruct nn to catch up automatically, it will simply
  2236. mark all articles in all groups as read, thus bringing you completely
  2237. up-to-date.
  2238.  
  2239. If you choose the interactive mode, nn will locate all groups with unread
  2240. articles, and for each group it will prompt you for an action to take on the
  2241. group. An action is selected using a single letter followed by return. The
  2242. following actions are available:
  2243.  
  2244. y    Mark all articles as read in current group.
  2245.  
  2246. n    Do not update group (this is the default action if you just hit return).
  2247.  
  2248. r    Enter reading mode to read the group.
  2249.  
  2250. U    Unsubscribe to the group.
  2251.  
  2252. ?    Give a list of actions.
  2253.  
  2254. q    Quit. When you quit, nn will ask whether the rest of the groups should be
  2255.      updated unconditionally or whether they should remain unread.
  2256.  
  2257. From: NN
  2258. Subject: NNTP
  2259.  
  2260. With NOV it is possible to compile nn as a pure NNTP client. The default NNTP
  2261. server is defined in /usr/lib/nntp_server, but this can be overridden by
  2262. setting the NNTPSERVER environment variable or by using the -R command option
  2263. or the -D option. If the NNTP server is set to the local host or doesn't exist
  2264. reading is done using local files.
  2265.  
  2266.     If NNTP is being used over a slow line it is possible to speed up
  2267. initialization by setting the nn variable new-group-action to less than 3 to
  2268. stop the active.times file being read and setting show-purpose-mode to 0 to
  2269. stop the newsgroups files being read.
  2270.  
  2271.     If even faster startup is required the -A command option will stop NN
  2272. reading the active file via NNTP but it will instead use the .newsrc file to
  2273. provide a list of newsgroups, this is the equivalent of setting the
  2274. dont-read-active variable. The dont-do-new-groups variable speeds things up
  2275. slightly by ignoring new groups. In this mode information about a number of
  2276. groups is read at once, the variable nntp-group-readahead controls how many
  2277. groups this information is read for (if it is set to a too high value, say
  2278. 1000, it is counter productive and may cause problems). The number of unread
  2279. articles for groups that have not been read ahead is not displayed.
  2280.  
  2281.     Username and Password: To use the INN 1.4 authinfo feature create
  2282. ~/.nn/authinfo with the following contents:
  2283.  
  2284.     username-on-server password-on-server
  2285.  
  2286.     If the -D parameter is used to specify an alternate host name the file read
  2287. is ~/.nn/authinfo-host.name
  2288.  
  2289. From: NN
  2290. Subject: NNTP PREFETCHING
  2291.  
  2292. NN will cache a small number articles and group infomation entries.
  2293.  
  2294.     NN will do prefetching of articles and group information, a fairly simple
  2295. algorithm is used, start prefetching the information for the next group when
  2296. selecting articles for the current group, start prefetching the next article
  2297. when reading the current one. Prefetching is done via a separate program
  2298. (nnprefetch) which communicates with NN via pipes and loads the cache.
  2299.  
  2300. From: NN
  2301. Subject: NN-TK OPTIONS
  2302.  
  2303. The value of these options can be set via the nn-tk options menu entries in
  2304. the SETUP menu, these changes are stored in the tk-config file in the users
  2305. .nn directory.
  2306.  
  2307.     These options have their defaults defined in nn-defaults in the nn lib
  2308. directory. This global nn-defaults file entries are overridden by the local
  2309. tk-config file.
  2310.  
  2311. GENERAL
  2312.      .RS .IP menu_min The minimum size of the subjects panel on the main
  2313.      window. the size when reading article .IP menu_max The maximum size of
  2314.      the subjects panel on the main window, the size when selecting articles.
  2315.      If meuu_max equals menu_min NN won't try to vary the size of the panels.
  2316.      .IP horizontal_scrollbars When to show horizontal scroll bars for article
  2317.      display and group list, either always (2), never (0) or only the contents
  2318.      of the panel is larger than the display area (1). .IP
  2319.      default_article_lines The number of lines in an article that are
  2320.      displayed by default, this is to speed up the loading of articles .IP
  2321.      mono_font Whether to display articles in mono space font by default .IP
  2322.      middle_button_pos Where to place the middle row of buttons on the main
  2323.      screen, whether above the selection panel (1), between the panels (0) or
  2324.      bellow the article panel (2). .IP mime_handling Under what circumstances
  2325.      to pass articles to EXMH for MIME handling or other reasons, the options
  2326.      are never (0), all except text/plain (1), all MIME articles (3) or all
  2327.      articles (4). .IP scan_uri If set automatically scan each article for
  2328.      anything that looks like World Wide Web URL's and turn them into buttons
  2329.      display them in a web browser. .IP nntp_progress Display progress of nntp
  2330.      transfer for .overview and active files ever N lines, 0 means never
  2331.      display it. .IP nntp_progress_a Display progress of nntp transfer for
  2332.      article files ever N lines, 0 means never display it. .IP cprompt_delay
  2333.      The delay in seconds before displaying the Cancel button for NNTP
  2334.      transfers, this is so that it doesn't flash on and off for quick
  2335.      transfers. .IP compressed_prompt Sets whether to use popups or mode lines
  2336.      or both for displaying prompts and information. Options are popup only
  2337.      (0), both prompt line and popup (1) or mode line only (2) . The mode line
  2338.      prompts may not give all the information that was available with the
  2339.      popups. .IP separate_prompt If set the nn prompt window is a separate
  2340.      window brought up when needed, if it's not set there a three prompt lines
  2341.      at the bottom of the main window.If compressed prompt is set to 2 then
  2342.      this is not used. .IP xterm_path Path for executing xterm .RE
  2343.  
  2344. GROUP LIST
  2345.      .RS .IP thread_height Specifies height of thread display panel, if set to
  2346.      0 the thread panel won't appear. .IP group_list_all Display the total
  2347.      number articles in each group instead of just the number of unread
  2348.      articles .IP group_list_read Display groups with no unread articles in
  2349.      them .IP group_list_unsub Display groups that are unsubscribed .IP
  2350.      group_list_width Set the width of group list .IP group_menu_max Maximum
  2351.      number of articles to display in group list at one time .IP single_main
  2352.      Put the group list into the main menu window instead of as a separate
  2353.      window .RE
  2354.  
  2355. GROUP CASCADING MENUS
  2356.      .RS .IP mk_group_menu Generate the group cascading menus at startup
  2357.      instead of when required, this slows down startup .IP group_menu_read
  2358.      Include groups with no unread articles in the menus .IP group_menu_unsub
  2359.      Include unsubscribed groups in the menus .IP group_menu_length Length of
  2360.      the columns in the group menu display .RE
  2361.  
  2362. Balloon help
  2363.      .RS .IP balloon_on Display the balloon help messages .IP
  2364.      balloon_start_delay The delay in milli-seconds between the mouse pointer
  2365.      moving over a button and the balloon help being displayed .IP
  2366.      balloon_destroy_delay The delay in milli-seconds until the balloon help
  2367.      is deleted again. .IP balloon_number The number of times a balloon help
  2368.      message for a particular button is displayed. .RE
  2369.  
  2370. From: NN
  2371. Subject: NN-TK NN-DEFAULTS
  2372.  
  2373. The nn-defaults file is in X resource format, it contains the defaults for the
  2374. various nn-tk options. It also contains resources setting other aspects of the
  2375. interface such as colors, fonts and adjustments to the EXMH interface. The
  2376. resources can also be set in the X server.
  2377.  
  2378.     The split_group variable controls which of the group cascading menus is
  2379. split up by the first character to reduce their length.
  2380.  
  2381.     The file is installed in the nn lib directory but it can be overridden by a
  2382. local nn-defaults file in .nn.
  2383.  
  2384. From: NN
  2385. Subject: VARIABLES AND OPTIONS
  2386.  
  2387. It is possible to control the behavior of nn through the setting (and
  2388. unsetting) of the variables described below. There are several ways of setting
  2389. variables:
  2390. - Through command line options when nn is invoked.
  2391. - Through assignments on the command line when nn is invoked.
  2392. - Through global set commands in the init file.
  2393. - Through set or local commands executed from entry macros.
  2394. - Through the :set extended command when you run nn.
  2395. - Through the nn-tk NN Variables menu item which produces a panel for setting
  2396. the value of these variables.
  2397.  
  2398. There are four types of variables:
  2399. - Boolean variables
  2400. - Integer variables
  2401. - String variables
  2402. - Key variables
  2403.  
  2404. Boolean variables control a specific function in nn, e.g. whether the current
  2405. time is shown in the prompt line. A boolean variable is set to true with the
  2406. command
  2407.       set variable and it is set to false with either of the following
  2408. (equivalent) commands:
  2409.       unset variable
  2410.       set novariable
  2411.  
  2412. You can also toggle the value of a boolean variable using the command:
  2413.       toggle variable
  2414.  
  2415. For example:
  2416.       set time
  2417.       unset time
  2418.       set notime
  2419.       toggle time
  2420.  
  2421. Integer variables control an amount e.g. the size of the preview window, or
  2422. the maximum number of articles to read in each group. They are set with the
  2423. following command:
  2424.       set variable value In some cases, not setting an integer value has a
  2425. special meaning, for example, not having a minimal preview window or reading
  2426. all articles in the groups no matter how many there are. The special meaning
  2427. can be re-established by the following command:
  2428.       unset variable For example:
  2429.       set window 7
  2430.       unset limit
  2431.  
  2432. String variables may specify directory names, default values for prompts, etc.
  2433. They are set using the command
  2434.       set variable string Normally, the string value assigned to the variable
  2435. value starts at the first non-blank character after the variable name and ends
  2436. with the last non-blank character (excluding comments) on the line. To include
  2437. leading or trailing blanks, or the comment start symbol, #, in the string they
  2438. must be escaped using a backslash `\', e.g. to set included-mark to the string
  2439. " # ", the following assignment can be used:
  2440.       set included-mark \\ \#\\ \ \ # blank-#-blank
  2441. To include a backslash in the string, it must be duplicated `\\'. A backslash
  2442. may also be used to include the following special characters in the string:
  2443. \a=alarm, \b=backspace, \e=escape, \f=form-feed, \n=new-line, \r=return,
  2444. \t=tab.
  2445.  
  2446. Key variables control the keys used to control special functions during user
  2447. input such as line editing and completion. They are set using the command
  2448.       set variable key-name
  2449.  
  2450. A variable can be locked which makes further modification of the variable
  2451. impossible:
  2452.       lock variable This can be used in the setup init file which is loaded
  2453. unconditionally to enforce local conventions or restrictions. For example, to
  2454. fix the included-mark variable to the string ">", the following commands can
  2455. be placed in the setup file:
  2456.       set included-mark >
  2457.       lock included-mark
  2458.  
  2459. The current variable settings can be shown with the :set command:
  2460.  
  2461. :set (without arguments)
  2462.      This will give a listing of the variables which have been set in either
  2463.      the init file or interactively.
  2464.  
  2465. :set all
  2466.      This will give a listing of all variables. Modified variables will be
  2467.      marked with a `*' and local variables will be marked with a `>'. A locked
  2468.      variable is marked with a `!'.
  2469.  
  2470. :set /regexp
  2471.      This will give a listing of all variables whose name matches the given
  2472.      regular expression.
  2473.  
  2474. :set partial-name space
  2475.      The space (comp1-key) key will complete the variable name as usual, but
  2476.      as a side effect it will display the variable's current value in the
  2477.      message line.
  2478.  
  2479. Variables are global by default, but a local instantiation of the variable can
  2480. be created using the :local command. The local variable will overlay the
  2481. global variable as long as the current group is active, i.e. the global
  2482. variable will be used again when you exit the current group. The initial value
  2483. of the local variable will be the same as the global variable, unless a new
  2484. value is specified in the :local command:
  2485.       :local variable [ value ]
  2486.  
  2487. The following variables are available:
  2488.  
  2489. also-full-digest    (boolean, default false)
  2490.      When a digest is split, the digest itself is not normally included on the
  2491.      menu, and as such the initial administrative information is not
  2492.      available. Setting also-full-digest will cause the (unsplit) digest to be
  2493.      included on the menu. These articles are marked with a @ at the beginning
  2494.      of the subject.
  2495.  
  2496. also-subgroups    (boolean, default true)
  2497.      When set, a group name in the presentation sequence will also cause all
  2498.      the subgroups of the group to be included, for example, comp.unix will
  2499.      also include comp.unix.questions, etc. When also-subgroups is not set,
  2500.      subgroups are only included if the group name is followed by a `.' in
  2501.      which case the main group is not included, i.e. `comp.unix' is not
  2502.      included when `comp.unix.' is specified in the presentation sequence, and
  2503.      vice-versa. Following a group name by an asterisk `*', e.g. comp.unix*,
  2504.      will include the group as well as all subgroups independently of the
  2505.      setting of also-subgroups.
  2506.  
  2507. append-signature-mail    (boolean, default false)
  2508.      When false, it is assumed that the .signature file is automatically
  2509.      appended to responses sent via E-mail. If true, .signature will be
  2510.      appended to the letter (see query-signature).
  2511.  
  2512. append-signature-post    (boolean, default false)
  2513.      When false, it is assumed that the .signature file is automatically
  2514.      appended to posted articles. If true, .signature will explicitly be
  2515.      appended to posted articles (see query-signature).
  2516.  
  2517. attributes symbols    (string, default ....)
  2518.      Each element in this string represents a symbol used to represent an
  2519.      article attribute when displayed on the screen. See the section on
  2520.      Marking Articles and Attributes.
  2521.  
  2522. auto-junk-seen    (boolean, default true)
  2523.      When set, articles which have the seen attribute (,) will be marked read
  2524.      when the current group is left. If not set, these articles will still be
  2525.      either unread or marked seen the next time the group is entered (see also
  2526.      confirm-junk-seen and retain-seen-status).
  2527.  
  2528. auto-preview-mode        (boolean, default false)
  2529.      Enables Auto Preview Mode. In this mode, selecting an article on the menu
  2530.      using its article id (letter a-z) will enter preview mode on that article
  2531.      immediately. Furthermore, the `n' {next-article} command will preview the
  2532.      next article on the menu only if it has the same subject as the current
  2533.      article; otherwise, it will return to the menu with the cursor placed on
  2534.      the next article. The continue command at the end of the article and the
  2535.      `=' {goto-menu} returns to the menu immediately as usual.
  2536.  
  2537. auto-read-mode-limit N    (integer, default 0)
  2538.      When operating in auto reading mode, nn will auto-select all unread
  2539.      articles in the group, skip the article selection phase, and enter
  2540.      reading mode directly after entry to the group.
  2541.            Auto reading mode is disabled when auto-read-mode-limit is zero; it
  2542.      is activated unconditionally if the value is negative, and conditionally
  2543.      if the value is greater than zero and the number of unread articles in
  2544.      the current group does not exceed the given value.
  2545.  
  2546. auto-select-closed mode    (integer, default 1)
  2547.      Normally, selecting a closed subject (usually in consolidated menu mode)
  2548.      will select (or deselect) all unread articles with the given subject (or
  2549.      all articles if they are all read). This behavior can be changed via the
  2550.      value of this variable as follows: 0: select only the first article with
  2551.      the subject (shown on menu). 1: select only the unread articles with the
  2552.      subject. 2: select all available articles with the subject.
  2553.  
  2554. auto-select-rw    (boolean, default false)
  2555.      If set, a subject of an article read or posted is automatically used for
  2556.      subsequent auto-selecting (if not already selected). This is the most
  2557.      efficient way to see your own posts automatically.
  2558.  
  2559. auto-select-subject    (boolean, default false)
  2560.      When set, selecting an article from the menu using the article id (a-z),
  2561.      all articles on the menu with the same subject will automatically be
  2562.      selected as well.
  2563.  
  2564. backup    (boolean, default true)
  2565.      When set, a copy of the initial .newsrc and select files will save be the
  2566.      first time they are changed. nn remembers the initial contents of these
  2567.      files internally, so the backup variable can be set any time if not set
  2568.      on start-up.
  2569.  
  2570. backup-folder-path file    (string, default "BackupFolder~")
  2571.      When removing deleted articles from a folder, this variable defines the
  2572.      name of the file where a (temporary) copy of the original folder is
  2573.      saved. If the file name doesn't contain a `/', the file will be located
  2574.      in the .nn directory. Otherwise the file name is used directly as the
  2575.      relative or full path name of the backup file. If possible, the old
  2576.      folder will be renamed to the backup folder name; otherwise the old
  2577.      folder is copied to the backup folder.
  2578.  
  2579. backup-suffix suffix    (string, default ".bak")
  2580.      The suffix appended to file names to make the corresponding backup file
  2581.      name (see backup).
  2582.  
  2583. bug-report-address address    (string, default nn-bugs@dkuug.dk)
  2584.      The mail address to which bug reports created with the :bug command are
  2585.      sent.
  2586.  
  2587. case-fold-search        (boolean, default true)
  2588.      When set, string and regular expression matching will be case
  2589.      independent. This is related to all commands matching on names or
  2590.      subjects, except in connection with auto-kill and auto-select where the
  2591.      individual kill file entries specifies this property.
  2592.  
  2593. charset charset    (string, default "us-ascii")
  2594.      The character set in use on your terminal. Legal values are "us-ascii",
  2595.      "iso-8859-X", where X is a nonzero digit, and "unknown". Setting this
  2596.      variable also sets the data-bits variable to the default bit width of the
  2597.      character set (7 for "us-ascii" and "unknown", 8 for the "iso-8859-X"
  2598.      sets).
  2599.      The value of this variable also determines whether nn allows 8-bit
  2600.      characters in the body of articles being posted and letters being mailed
  2601.      (unless the value is "unknown", in which case this is determined by the
  2602.      value of the data-bits variable). If necessary, nn will add extra headers
  2603.      to the message indicating its the character set.
  2604.  
  2605. check-db-update-time H    (integer, default 12)
  2606.      When non-zero, nn will issue a warning if the database has not been
  2607.      updated in the last H hours. The warning will tell you whether no news
  2608.      has arrived (feed broken?).
  2609.  
  2610. check-group-access    (boolean, default false)
  2611.      When set, nn will perform a check on the readability of a group's
  2612.      readability before showing the menu for that group. Normally, this is not
  2613.      necessary since all users traditionally have access to all news groups.
  2614.      Setting (and locking) this variable may be used to limit access to a news
  2615.      group via the permissions and ownership of the group's spool directory
  2616.      (this will only work for non-NNTP sites).
  2617.  
  2618. collapse-subject offset    (integer, default 25)
  2619.      When set (non-negative), subject lines which are too long to be presented
  2620.      in full on the menus will be "collapsed" by removing a sufficient number
  2621.      of characters from the subject starting at the given offset in the
  2622.      subject. This is useful in source groups where the "Part (01/10)" string
  2623.      sometimes disappears from the menu. When not set (or negative), the
  2624.      subjects are truncated.
  2625.  
  2626. columns col    (integer, default screen width)
  2627.      This variable contains the screen width i.e. character positions per
  2628.      line.
  2629.  
  2630. comp1-key key    (key, default space)
  2631.      The key which gives the first/next completion, and the default value when
  2632.      nn is prompting for a string, e.g. a file name.
  2633.  
  2634. comp2-key key    (key, default tab)
  2635.      The key which ends the current completion and gives the first completion
  2636.      for the next component when nn is prompting for a string, e.g. a file
  2637.      name.
  2638.  
  2639. compress        (boolean, default false)
  2640.      This variable controls whether text compression (see the compress
  2641.      command) is turned on or off when an article is shown. The compression is
  2642.      still toggled for the current article with the compress command key.
  2643.  
  2644. confirm-append        (boolean, default false)
  2645.      When set, nn will ask for confirmation before appending an article to an
  2646.      existing file (see also confirm-create).
  2647.  
  2648. confirm-auto-quit        (boolean, default false)
  2649.      When set, nn will ask for confirmation before quitting after having read
  2650.      the last group. If not confirmed, nn will recycle the presentation
  2651.      sequence looking for groups that were skipped with the `N' {next-group}
  2652.      command. But it will not look for new articles arrived since the
  2653.      invocation of nn.
  2654.  
  2655. confirm-create        (boolean, default true)
  2656.      When set, nn will ask for confirmation before creating a new file or
  2657.      directory when saving or unpacking an article (see also confirm-append).
  2658.  
  2659. confirm-entry        (boolean, default false)
  2660.      When set, nn will ask for confirmation before entering a group with more
  2661.      than confirm-entry-limit unread articles (on the first menu level). It is
  2662.      useful on slow terminals if you don't want to wait until nn has drawn the
  2663.      first menu to be able to skip the group.
  2664.            Answering no to the "Enter?" prompt will cause nn to skip to the
  2665.      next group without marking the current group as read. If you answer by
  2666.      hitting interrupt, nn will ask the question "Mark as read?" which allows
  2667.      you to mark the current group as read before going to the next group. If
  2668.      this second question is also answered by hitting interrupt, nn will quit
  2669.      immediately.
  2670.  
  2671. confirm-entry-limit articles    (integer, default 0)
  2672.      Specifies the minimum number of unread articles in a group for which the
  2673.      confirm-entry functionality is activated.
  2674.  
  2675. confirm-junk-seen        (boolean, default false)
  2676.      When set, nn will require confirmation before marking seen articles as
  2677.      read when auto-junk-seen is set.
  2678.  
  2679. confirm-messages        (boolean, default false)
  2680.      In some cases, nn will sleep one second (or more) when it has shown a
  2681.      message to the user, e.g. in connection with macro debugging. Setting
  2682.      confirm-messages will cause nn to wait for you to confirm all messages by
  2683.      hitting any key. (It will show the symbol <> to indicate that it is
  2684.      awaiting confirmation.)
  2685.  
  2686. consolidated-manual    (boolean, default false)
  2687.      When set, the online manual will be presented with one menu line for each
  2688.      program in the nn package.
  2689.  
  2690. consolidated-menu        (boolean, default false)
  2691.      When set, nn will automatically close all multi-article subjects on entry
  2692.      to a group, so that each subject only occur once on the menu page.
  2693.  
  2694. counter-delim-left    (string, default "[")
  2695.      The delimiter string output to the left of the article counter in a
  2696.      closed subject's menu line.
  2697.  
  2698. counter-delim-right    (string, default "] ")
  2699.      The delimiter string output to the right of the article counter in a
  2700.      closed subject's menu line.
  2701.  
  2702. counter-padding pad        (integer, default 5)
  2703.      On a consolidated menu, the subjects may not be very well aligned because
  2704.      the added [...] counters have varying length. To (partially) remedy this,
  2705.      all counters (and subjects without counters) are prefixed by up to pad
  2706.      spaces to get better alignment. Increasing it further may yield
  2707.      practically perfect alignment at the cost of less space for the subject
  2708.      itself.
  2709.  
  2710. cross-filter-seq        (boolean, default true)
  2711.      When set, cross posted articles will be presented in the first possible
  2712.      group, i.e. according to the current presentation sequence (cross-post
  2713.      filtering on sequence). The article is automatically marked read in the
  2714.      other cross posted groups unless you unsubscribe to the first group in
  2715.      which it was shown before reading the other groups. Likewise, it is
  2716.      sufficient to leave the article unread in the first group to keep it for
  2717.      later handling.
  2718.            If not set, cross-postings are shown in the first group occurring on
  2719.      the Newsgroups: line which the user subscribes to (i.e. you let the
  2720.      poster decide which group is most appropriate to read his posting).
  2721.  
  2722. cross-post        (boolean, default false)
  2723.      Normally, nn will only show cross-posted articles in the first subscribed
  2724.      group on the Newsgroups: line. When cross-post is set, nn will show
  2725.      cross-posted articles in all subscribed groups to which they are posted.
  2726.  
  2727. data-bits bits    (integer, default 7)
  2728.      When set to 7, nn will display characters with the 8th bit set using a
  2729.      meta-notation M-7bit-char. If set to 8, these characters are sent
  2730.      directly to the screen (unless monitor is set). Setting the charset
  2731.      variable also sets this variable to the default bit width of character
  2732.      set.
  2733.      It also controls whether keyboard input is 7 or 8 bits, and thus whether
  2734.      key maps contain 127 or 255 entries. See the key mapping section for more
  2735.      details.
  2736.      If the charset has value "unknown", the value of data-bits also
  2737.      determines whether nn allows 8-bit characters in the body of articles
  2738.      being posted and letters being mailed (this is normally determined
  2739.      directly by the charset variable).
  2740.  
  2741. date        (boolean, default true)
  2742.      If set nn will show the article posting date when articles are read.
  2743.  
  2744. debug mask    (integer, default 0)
  2745.      Look in the source if you are going to use this.
  2746.  
  2747. decode-header-file file    (string, default "Decode.Headers")
  2748.      The name of the file in which the header and initial text of articles
  2749.      decoded with the :decode command is saved. Unless the file name starts
  2750.      with a `/', the file will be created in the same directory as the decoded
  2751.      files. The information is not saved if this variable is not set.
  2752.  
  2753. decode-skip-prefix N    (integer, default 2)
  2754.      When non-null, the :decode command will automatically skip upto N
  2755.      characters at the beginning of each line to find valid uuencoded data.
  2756.      This allows nn to automatically decode (multi-part) postings which are
  2757.      both uuencoded and packed with shar.
  2758.  
  2759. default-distribution distr    (string, default "world")
  2760.      The distribution to use as the default suggestion when posting articles
  2761.      using the follow and post commands if the corresponding
  2762.      follow-distribution or post-distribution variable contains the default
  2763.      option.
  2764.  
  2765. default-kill-select [1]days    (number, default 30)
  2766.      Specifies the default action for the K {kill-select} command if the first
  2767.      prompt is answered by return. It contains the number of days to keep the
  2768.      kill or select entry in the kill file (1-99 days). If it has the value
  2769.      days+100 (e.g. 130), it denotes that the default action is to select
  2770.      rather than kill on the subject for the specified period.
  2771.  
  2772. default-save-file file    (string, default +$F)
  2773.      The default save file used when saving articles in news groups where no
  2774.      save file has been specified in the init file (either in a save-files
  2775.      section or in the presentation sequence). It can also be specified using
  2776.      the abbreviation "+" as the file name when prompted for a file name even
  2777.      in groups with their own save file.
  2778.  
  2779. delay-redraw        (boolean, default false)
  2780.      Normally, nn will redraw the screen after extended commands (:cmd) that
  2781.      clear the screen. When delay-redraw is set nn will prompt for another
  2782.      extended command instead of redrawing the screen (hit return to redraw).
  2783.      deview-nopromtp (boolean, default false) Turn off per file prompting in
  2784.      the :deview command
  2785.  
  2786. dont-do-new-groups        (boolean, default true)
  2787.      If not reading the active file, ignore new groups
  2788.  
  2789. dont-read-active        (boolean, default false)
  2790.      Don't read the active file at startup, instead use the active file for
  2791.      the list of groups. Can be useful for slow NNTP connections.
  2792.  
  2793. echo-prefix-key        (boolean, default true)
  2794.      When true, hitting a prefix key (see the section on key mapping below)
  2795.      will cause the prefix key to be echoed in the message line to indicate
  2796.      that another key is expected.
  2797.  
  2798. edit-patch-command    (boolean, default true)
  2799.      When true, the :patch command will show the current patch-command and
  2800.      give you a chance to edit it before applying it to the articles.
  2801.  
  2802. edit-print-command    (boolean, default true)
  2803.      When true, the print command will show the current printer command and
  2804.      give you a chance to edit it before printing the articles. Otherwise the
  2805.      articles are just printed using the current printer command.
  2806.  
  2807. edit-response-check    (boolean, default true)
  2808.      When editing a response to an article, it normally does not have any
  2809.      meaning to send the initial file prepared by nn unaltered, since it is
  2810.      either empty or only contains included material. When this variable is
  2811.      set, exiting the editor without having changed the file will
  2812.      automatically abort the response action without confirmation.
  2813.  
  2814. edit-unshar-command    (boolean, default false)
  2815.      When true, the :unshar command will show the current unshar-command and
  2816.      give you a chance to edit it before applying it to the articles.
  2817.  
  2818. editor command    (string, default not set)
  2819.      When set, it will override the current EDITOR environment variable when
  2820.      editing responses and new articles.
  2821.  
  2822. embedded-header-escape string    (string, default '~')
  2823.      When saving an article to a file, header lines embedded in the body of
  2824.      the article are escaped using this string to make it possible for nn to
  2825.      split the folder correctly afterwards. Header lines are not escaped if
  2826.      this variable is not set.
  2827.  
  2828. enter-last-read-mode mode    (integer, default 1)
  2829.      Normally, nn will remember which group is active when you quit, and offer
  2830.      to jump directly to this group when you start nn the next time. This
  2831.      variable is used to control this behavior. The following mode values are
  2832.      recognized: 0: Ignore the remembered group (r.g.). 1: Enter r.g. if the
  2833.      group is unread (with user confirmation) 2: Enter r.g. or first unread
  2834.      group after it in the sequence (w/conf). 3: Enter r.g. if the group is
  2835.      unread (no confirmation) 4: Enter r.g. or first unread group after it in
  2836.      the sequence (no conf).
  2837.  
  2838. entry-report-limit articles    (integer, default 300)
  2839.      Normally, nn will just move the cursor to the upper left corner of the
  2840.      screen while it is reading articles from the database on entry to a
  2841.      group. For large groups this may take more than a fraction of a second,
  2842.      and nn can then report what it is doing. If it must read more articles
  2843.      than the number specified by this variable, nn will report which group
  2844.      and how many articles it is reading.
  2845.  
  2846. erase-key key    (key, default tty erase key)
  2847.      The key which erases the last input character when nn is prompting for a
  2848.      string, e.g. a file name.
  2849.  
  2850. expert        (boolean, default false)
  2851.      If set nn will use slightly shorter prompts (e.g. not tell you that ?
  2852.      will give you help), and be a bit less verbose in a few other cases (e.g.
  2853.      not remind you that posted articles are not available instantly).
  2854.  
  2855. expired-message-delay pause    (integer, default 1)
  2856.      If a selected article is found to have been expired, nn will normally
  2857.      give a message about this and sleep for a number of seconds specified by
  2858.      this variable. Setting this variable to zero will still make nn give the
  2859.      message without sleeping afterwards. Setting it to -1 will cause the
  2860.      message not to be shown at all.
  2861.  
  2862. flow-control    (boolean, default true)
  2863.      When set, nn will turn on xon/xoff flow-control before writing large
  2864.      amounts of text to the screen. This should guard against lossage of
  2865.      output, but in some network configurations it has had the opposite
  2866.      effect, losing several lines of the output. This variable is always true
  2867.      on systems with CBREAK capabilities which can do single character reads
  2868.      without disabling flow control.
  2869.  
  2870. flush-typeahead    (boolean, default false)
  2871.      When true, nn will flush typeahead prior to reading commands from the
  2872.      keyboard. It will not flush typeahead while reading parameters for a
  2873.      command, e.g. file names etc.
  2874.  
  2875. folder directory    (string, default ~/News)
  2876.      The full pathname of the folder directory which will replace the + in
  2877.      folder names. It will be initialized from the FOLDER environment variable
  2878.      if it is not set in the init file.
  2879.  
  2880. folder-format-check    (boolean, default true)
  2881.      When saving an article with a full or partial header in an existing
  2882.      folder, nn will check the format of the folder to be able to append the
  2883.      article in the proper format. If this variable is not set, folders are
  2884.      assumed to be in the format specified via the mmdf-format and mail-format
  2885.      variables, and articles are saved in that format without checking.
  2886.      Otherwise, the *-format variables are only used to determine the format
  2887.      for new folders.
  2888.  
  2889. folder-save-file file    (string, default not set)
  2890.      The default save file used when saving articles from a folder.
  2891.  
  2892. follow-distribution words    (string, default see below)
  2893.      This variable controls how the Distribution: header is constructed for a
  2894.      follow-up to an original article. Its value is a list of words selected
  2895.      from the following list:
  2896.      [ [ always ] same ] [ ask ] [ default | distribution ]
  2897.      This is interpreted in two steps:
  2898.      - First the default distribution is determined. If same is specified and
  2899.      the original article has a Distribution: header, that header is used.
  2900.      Else if default is specified (or distribution is omitted), the value of
  2901.      default-distribution is used. And finally, if only a distribution (any
  2902.      word) is specified that is used as the default.
  2903.      - Then if ask is specified, the user will be asked to confirm the default
  2904.      distribution or provide another distribution. However, if always (and
  2905.      same) is specified, and the default was taken from the original article's
  2906.      distribution, the original distribution is used without confirmation.
  2907.      The default value of follow-distribution is always same default, i.e. use
  2908.      either the original distribution or the default-distribution without
  2909.      confirmation in either case.
  2910.  
  2911. from-line-parsing strictness    (integer, default 2)
  2912.      Specifies how strict nn must parse a "From " line in a folder to
  2913.      recognize it as a mail format message separator line. The following
  2914.      strictness values determine whether a line starting with "From " will be
  2915.      recognized as a separator line:
  2916.            0: Always.
  2917.            1: Line must have at least 8 fields.
  2918.            2: Line must contain a valid date and time (ctime style).
  2919.  
  2920. fsort        (boolean, default true)
  2921.      When set, folders are sorted alphabetically according to the subject (and
  2922.      age). Otherwise, the articles in a folder will be presented in the
  2923.      sequence in which they were saved.
  2924.  
  2925. guard-double-slash    (boolean, default false)
  2926.      Normally, when entering a file name, entering two slashes `//' in a row
  2927.      (or following a slash by a plus `/+') will cause nn to erase the entire
  2928.      line and replace it with the `/' (or `+'). On some systems, two slashes
  2929.      are used in network file names, and on those systems guard-double-slash
  2930.      can be set; that will cause nn to require three slashes in a row to clear
  2931.      the input.
  2932.  
  2933. header-lines list    (string, no default)
  2934.      When set, it determines the list of header fields that are shown when an
  2935.      article is read instead of the normal one line header showing the author
  2936.      and subject. See the full description in the section on Customized
  2937.      Article Headers below.
  2938.  
  2939. help-key key    (key, default ?)
  2940.      The key which ends the current completion and gives a list of possible
  2941.      completions for the next component when nn is prompting for a string,
  2942.      e.g. a file name.
  2943.  
  2944. ignore-re        (boolean, default false)
  2945.      If set, articles with subjects already seen in a previous invocation of
  2946.      nn or another newsreader - and not auto-selected - are automatically
  2947.      killed. A great way to read even less news!
  2948.  
  2949. ignore-xon-xoff        (boolean, default false)
  2950.      Normally, nn will ignore ^S and ^Q in the input from the terminal (if
  2951.      they are not handled in the tty driver). Setting this variable will treat
  2952.      these characters as normal input.
  2953.  
  2954. include-art-id        (boolean, default false)
  2955.      The first line in a response with included material normally reads
  2956.      "...somebody... writes:" without a reference to the specific article from
  2957.      which the quotation was taken (this is found in the References: line).
  2958.      When this variable is set, the line will also include the article id of
  2959.      the referenced article: "In ...article... ... writes:".
  2960.  
  2961. include-full-header    (boolean, default false)
  2962.      When set, the mail (M) command will always include the full header of the
  2963.      original article. If it is not set, it only includes the header when the
  2964.      article is forwarded without being edited.
  2965.  
  2966. include-mark-blank-lines    (boolean, default false)
  2967.      When set, the included-mark is placed on blank lines in included
  2968.      articles. Otherwise, blank lines are left blank (to make it easy to
  2969.      delete whole paragraphs with `d}' in vi and `C-@ M-] C-W' in emacs).
  2970.  
  2971. included-mark string    (string, default ">")
  2972.      This string is prefixed to all lines in the original article that are
  2973.      included in a reply or a follow-up. (Now you have the possibility to
  2974.      change it, but please don't. Lines with a mixture of prefixes like
  2975.            : orig-> <> } ] #- etc.
  2976.      are very difficult to comprehend. Let's all use the standard folks! (And
  2977.      hack inews if it is the 50% rule that bothers you.)
  2978.  
  2979. inews shell-command    (string, default "INEWS_PATH -h")
  2980.      The program which is invoked by nn to deliver an article to the news
  2981.      transport. The program will be given a complete article including a
  2982.      header containing the newsgroups to which the article is to be posted.
  2983.      See also inews-pipe-input. It is not used when canceling an article!
  2984.  
  2985. inews-pipe-input        (boolean, default true)
  2986.      When set, the article to be posted will be piped into the inews program.
  2987.      Otherwise, the file containing the article will be given as the first
  2988.      (and only) argument to the inews command.
  2989.  
  2990. initial-newsrc-file file    (string, default '.defaultnewsrc')
  2991.      Defines the name of a file which is used as the initial .newsrc file for
  2992.      new users. The name may be a full path name, or as the default a file
  2993.      name which will be looked for in a number of places: in the standard news
  2994.      lib directory (where it can be shared with other news readers), in nn's
  2995.      lib directory, and in the database directory. Groups which are not
  2996.      present in the initial .newsrc file will be automatically unsubscribed
  2997.      provided new-group-action is set to a value allowing unsubscribed groups
  2998.      to be omitted from .newsrc.
  2999.  
  3000. keep-backup-folder    (boolean, default false)
  3001.      When set, the backup folder (see backup-folder-path) created when
  3002.      removing deleted articles from a folder is not removed. Notice that a
  3003.      backup folder is not created if all articles are removed from a folder!
  3004.  
  3005. keep-unsubscribed        (boolean, default true)
  3006.      When set, unsubscribed groups are kept in .newsrc. If not set, nn will
  3007.      automatically remove all unsubscribed from .newsrc if tidy-newsrc is set.
  3008.      See also unsubscribe-mark-read.
  3009.  
  3010. kill        (boolean, default true)
  3011.      If set, nn performs automatic kill and selection based on the kill file.
  3012.  
  3013. kill-debug        (boolean, default false)
  3014.      When set, nn will display a trace of the auto-kill/select process on
  3015.      entry to a group. It is automatically turned off if `q' is entered as the
  3016.      answer to a "hit any key" prompt during the debug output.
  3017.  
  3018. kill-key key    (key, default tty kill key)
  3019.      The key which deletes the current line when nn is prompting for a string,
  3020.      e.g. a file name.
  3021.  
  3022. kill-reference-count N    (integer, default 0)
  3023.      When this variable is non-zero, all articles which have N or more
  3024.      references on the References: line (corresponding to the number of >>'s
  3025.      on the menu line) will be auto-killed if they are not auto-selected (or
  3026.      preserved) via an entry in the kill file. It should probably not be used
  3027.      globally for all groups, but can be set on a per-group via the entry
  3028.      macros.
  3029.  
  3030. layout number    (integer, default 1)
  3031.      Set the menu layout. The argument must be a number between 0 and 4.
  3032.  
  3033. limit max-articles    (integer, default infinite)
  3034.      Limit the maximum number of articles presented in each group to
  3035.      max-articles. The default is to present all unread articles no matter how
  3036.      many there are. Setting this variable, only the most recent max-articles
  3037.      articles will be presented, but all the articles will still be marked as
  3038.      read. This is useful to get up-to-date quickly if you have not read news
  3039.      for a longer period.
  3040.  
  3041. lines lin    (integer, default screen height)
  3042.      This variable contains the screen height i.e. number of lines.
  3043.  
  3044. long-menu        (boolean, default false)
  3045.      If set nn will not put an empty line after the header line and an empty
  3046.      line before the prompt line; this gives you two extra menu lines.
  3047.  
  3048. macro-debug    (boolean, default false)
  3049.      If set nn will trace the execution of all macros. Prior to the execution
  3050.      of each command or operation in a macro, it will show the name of the
  3051.      command or the input string or key stroke at the bottom of the screen.
  3052.  
  3053. mail file    (string, default not set)
  3054.      file must be a full path name of a file. If defined, nn will check for
  3055.      arrival of new mail every minute or so by looking at the specified file.
  3056.  
  3057. mail-alias-expander program    (string, default not set)
  3058.      When set, aliases used in mail responses may be expanded by the specified
  3059.      program. The program will be given the completed response in a file as
  3060.      its only argument, and the aliases should be expanded directly in this
  3061.      file (of course the program may use temporary files and other means to
  3062.      expand the aliases as long the the result is stored in the provided
  3063.      file).
  3064.      Notice: currently there are no alias expanders delivered with nn.
  3065.      Warning: Errors in the expansion process may lead to the response not
  3066.      being sent.
  3067.  
  3068. mail-format    (boolean, default false)
  3069.      When set, nn will save articles in a format that is compatible with
  3070.      normal mail folders. Unless folder-format-check is false, it is only used
  3071.      to specify the format used when new folders are created. This variable is
  3072.      ignored if mmdf-format is set.
  3073.  
  3074. mail-header headers    (string, default not set)
  3075.      The headers string specifies one or more extra header lines (separated by
  3076.      semi-colons `;') which are added to the header of mail sent from nn using
  3077.      the reply and mail commands. For example:
  3078.            set mail-header Reply-To: storm@texas.dk;Organization: TI - DK To
  3079.      include a semicolon `;' in a header, precede it by a backslash (which
  3080.      must be doubled because of the conventions for entering strings).
  3081.  
  3082. mail-record file    (string, default not set)
  3083.      file must be a full path name of a file. If defined, all replies and mail
  3084.      will be saved in this file in standard mailbox format, i.e. you can use
  3085.      you favorite mailer (and nn) to look at the file.
  3086.  
  3087. mail-script file    (string, default not set)
  3088.      When set, nn will use the specified file instead of the standard aux
  3089.      script when executing the reply and mail commands.
  3090.  
  3091. mailer shell-command    (string, default REC_MAIL)
  3092.      The program which is invoked by nn to deliver a message to the mail
  3093.      transport. The program will be given a complete mail message including a
  3094.      header containing the recipient's address. See also mailer-pipe-input.
  3095.  
  3096. mailer-pipe-input        (boolean, default true)
  3097.      When set, the message to be sent will be piped into the mailer program.
  3098.      Otherwise, the file containing the message will be given as the first
  3099.      (and only) argument to the mailer command.
  3100.  
  3101. marked-by-next-group N    (integer, default 0)
  3102.      Specifies the amount of (unmarked) articles on the menu marked seen by
  3103.      the N {next-group} command in selection mode. See marked-by-read-skip for
  3104.      possible values of N.
  3105.  
  3106. marked-by-read-return N    (integer, default 0)
  3107.      Specifies the amount of (unmarked) articles on the menu marked seen by
  3108.      the Z {read-return} command in selection mode. See marked-by-read-skip
  3109.      for possible values of N.
  3110.  
  3111. marked-by-read-skip N    (integer, default 4)
  3112.      Specifies the amount of (unmarked) articles on the menu marked seen by
  3113.      the X {read-skip} command in selection mode. The following values of N
  3114.      are recognized:
  3115.            0: No articles are marked seen
  3116.            1: Current page is marked seen
  3117.            2: Previous pages are marked seen
  3118.            3: Previous and current pages are marked seen
  3119.            4: All pages are marked seen
  3120.  
  3121. mark-overlap    (boolean, default false)
  3122.      When set, nn will draw a line (using the underline capabilities of the
  3123.      terminal if possible) to indicate the end of the overlap (see the overlap
  3124.      variable).
  3125.  
  3126. mark-overlap-shading    (boolean, default false)
  3127.      When set, nn will shade overlapping lines (see the overlap variable)
  3128.      using the attributes defined by the shading-on and shading-off variables
  3129.      (of if not set, with the underline attribute). This is typically used to
  3130.      give overlapping lines a different color on terminals which have this
  3131.      capability.
  3132.  
  3133. menu-spacing mode    (integer, default 0)
  3134.      When mode is a non-zero number as described below, nn will add blank
  3135.      lines between the lines on the menu to increase readability at the cost
  3136.      of presenting fewer articles on each page. The following values of mode
  3137.      are recognized: 0: Don't add blank lines between menu lines. 1: Add a
  3138.      blank line between articles with different subjects. 2: Add a blank line
  3139.      between all articles.
  3140.  
  3141. merge-report-rate rate    (integer, default 1)
  3142.      When nn is invoked with the -m option (directly or via nngrap), a status
  3143.      report of the merging process is displayed and updated on the screen
  3144.      every rate seconds. The report contains the time used so far and an
  3145.      estimate of the time needed to complete the merge.
  3146.  
  3147. message-history N    (integer, default 15)
  3148.      Specifies the maximum number, N, of older messages which can be recalled
  3149.      with the ^P {message} command.
  3150.  
  3151. min-window size    (integer, default 7)
  3152.      When the window variable is not set, nn will clear the screen to preview
  3153.      an article if there are less than size unused lines at the bottom of the
  3154.      menu screen.
  3155.  
  3156. mmdf-format    (boolean, default false)
  3157.      When set, nn will save articles in MMDF format. Unless
  3158.      folder-format-check is false, it is only used to specify the format used
  3159.      when new folders are created.
  3160.  
  3161. monitor        (boolean, default false)
  3162.      When set, nn will show all characters in the received messages using a
  3163.      "cat -v" like format. Otherwise, only the printable characters are shown
  3164.      (default).
  3165.  
  3166. motd        (boolean, default true)
  3167.      When set, nn will display the message of the day on start-up if it has
  3168.      changed since it was last shown. The message is taken from the file
  3169.      "motd" in the lib directory. It can also be shown (again) using the :motd
  3170.      command.
  3171.  
  3172. multi-key-guard-time timeout    (integer, default 2)
  3173.      When reading a multi-key sequence from the keyboard, nn will expect the
  3174.      characters constituting the multi-key to arrive "quickly" after each
  3175.      other. When a partial multi-key sequence is read, nn will wait (at least)
  3176.      timeout tenths of a second for each of the following characters to arrive
  3177.      to complete the multi-key sequence. If the multi-key sequence is not
  3178.      completed within this period, nn will read the partial multi-key sequence
  3179.      as individual characters instead. This way it is still possible to use
  3180.      for example the ESC key on a terminal with vt100 like arrow keys. When nn
  3181.      is used via an rlogin connection, you may have to increase the timeout to
  3182.      get reliable recognition of multi-keys.
  3183.  
  3184. new-group-action action    (integer, default 3)
  3185.      This variable controls how new groups are treated by nn. It is an integer
  3186.      variable, and the following values can be used. Some of these actions
  3187.      (marked with an *) will only work when keep-unsubscribed is set, since
  3188.      the presence of a group in .newsrc is the only way to recognize it as an
  3189.      old group. If options 0, 1 or 2 are chosen the file active.times is not
  3190.      read.
  3191.      0) Ignore groups which are not in .newsrc. This will obviously include
  3192.      new groups.
  3193.      1*) Groups not in .newsrc are considered to be new, and are inserted at
  3194.      the beginning of the .newsrc file.
  3195.      2*) Groups not in .newsrc are considered to be new, and are appended to
  3196.      the end of the .newsrc file.
  3197.      3) New groups are recognized via a time-stamp saved in the file .nn/LAST
  3198.      and in the database, i.e. it is not dependent on the groups currently in
  3199.      .newsrc. The new groups are automatically appended to .newsrc with
  3200.      subscription. Old groups not present in .newsrc will be considered to be
  3201.      unsubscribed.
  3202.      4) As 3, but the user is asked to confirm that the new group should be
  3203.      appended to .newsrc. If rejected, the group will not be appended to
  3204.      .newsrc, and thus be regarded as unsubscribed.
  3205.      5) As 4, except that the information is stored in a format compatible
  3206.      with the rn news reader (.rnlast). This needs to be tested!
  3207.  
  3208. new-style-read-prompt    (boolean, default true)
  3209.      When set, the reading mode prompt line includes the group name and the
  3210.      number of selected articles in the group.
  3211.  
  3212. newsrc-sequence (integer, default 0)
  3213.      This determines how the group sequence is handled.
  3214.      0 - the group sequence is determined by the SEQUENCE directive in the
  3215.      init file. The .newsrc sequence is only used when the RC directive
  3216.      appears in the init file. The order of .newsrc file is preserved.
  3217.      1 - the group sequence is still determined as above but the .newsrc file
  3218.      is written in group sequence order. This means that the part of the group
  3219.      sequence corresponding to the RC can be edited via the NN-TK group list
  3220.      but the rest is determined in the init sequence. The RC:groupname form is
  3221.      useful here.
  3222.      2 - the group sequence is determined totally by the .newsrc sequence and
  3223.      the .newsrc is written out in group sequence order. This means that the
  3224.      entire group sequence can be edited using the NN-TK group list.
  3225.  
  3226. news-header headers    (string, default not set)
  3227.      The headers string specifies one or more extra header lines (separated by
  3228.      semi-colons `;') which are added to the header of articles posted from nn
  3229.      using the follow and post commands. See mail-header for an example.
  3230.  
  3231. news-record file    (string, default not set)
  3232.      Save file for follow-ups and postings. Same rules and format as the
  3233.      mail-record variable.
  3234.  
  3235. news-script file    (string, default not set)
  3236.      When set, nn will use the specified file instead of the standard aux
  3237.      script when executing the follow and post commands.
  3238.  
  3239. newsrc file (string, default "~/.newsrc") Specifies the
  3240.      file used by nn to register which groups and articles have been read. The
  3241.      default setting corresponds to the .newsrc file used by other news
  3242.      readers. Notice that nn release 6.4 onwards does allow individual
  3243.      articles to be marked unread, and some articles marked unread, and thus
  3244.      no longer messes up .newsrc for other news readers!
  3245.  
  3246. nntp-cache-dir directory    (string, default "~/.nn")
  3247.      When NNTP is used, nn needs to store articles and group information
  3248.      temporarily on disk. This variable specifies which directory nn will use
  3249.      to hold these files. The default value may be changed during
  3250.      configuration. This variable can only be set in the init file.
  3251.  
  3252. nntp-cache-size size    (integer, default 10, maximum 10)
  3253.      Specifies the number of temporary files in the nntp cache. Also sets the
  3254.      number of items of group information cached. The default and maximum
  3255.      values may be changed during configuration.
  3256.  
  3257. nntp-debug    (boolean, default false)
  3258.      When set, a trace of the nntp related traffic is displayed in the message
  3259.      line on the screen.
  3260.  
  3261. nntp-group-readahead    (integer, default 50)
  3262.      If not reading active file, read ahead info on this many groups.
  3263.  
  3264. old [max-articles]    (integer, default not set)
  3265.      When old is set, nn will present (or scan) all (or the last max-articles)
  3266.      unread as well as read articles. While old is set, nn will never mark any
  3267.      unread articles as read.
  3268.  
  3269. orig-to-include-mask N    (integer, default 3)
  3270.      When replying to an article, nn will include some of the header lines
  3271.      which may be used to construct a proper mail address for the poster of
  3272.      the original article. These addresses are placed on Orig-To: lines in the
  3273.      reply header and will automatically be removed before the letter is sent.
  3274.      This variable specifies which headers from the article are included; its
  3275.      value N is the sum of the following values:
  3276.            1: Reply-To:
  3277.            2: From:
  3278.            4: Path:
  3279.  
  3280. overlap lines    (integer, default 2)
  3281.      Specifies the number of overlapping lines from one page to the next when
  3282.      paging through an article in reading mode. The last line from the
  3283.      previous page will be underlined if the terminal has that capability.
  3284.  
  3285. pager shell-command        (string, default $PAGER)
  3286.      This is the pager used by the :admin command (and nnadmin) when it
  3287.      executes certain commands, e.g. grepping in the Log file.
  3288.  
  3289. patch-command shell-command    (string, default "patch -p0")
  3290.      This is the command which is invoked by the :patch command.
  3291.  
  3292. post-distribution words    (string, default see below)
  3293.      This variable controls how the Distribution: header is constructed when
  3294.      posting an original article. Its value is a list of words selected from
  3295.      the following list:
  3296.      [ ask ] [ default | distribution ]
  3297.      This is interpreted in two steps:
  3298.      - First the default distribution is determined. If default is specified
  3299.      (or distribution is omitted), the value of default-distribution is used.
  3300.      Otherwise, the specified distribution (any word) is used as the default.
  3301.      - Then if ask is specified, the user will be asked to confirm the default
  3302.      distribution or provide another distribution.
  3303.      The default value of post-distribution is ask default, i.e. use the
  3304.      default-distribution with confirmation from the user.
  3305.  
  3306. prefetch     (boolean, default true)
  3307.      When set, prefetch the next article or group information while the while
  3308.      the current article is being read, this is done with a separate process
  3309.      (nnprefetch).
  3310.  
  3311. prefetch-article-max number    (integer, default 600)
  3312.      Only prefech the articles if they are less than number lines long, this
  3313.      is the stop a slow line being clogged up with long prefetches
  3314.  
  3315. prefetch-debug     (boolean, default false)
  3316.      When set, display debugging infomation about prefetching.
  3317.  
  3318. prefetch-group-max number    (integer, default 360)
  3319.      Only prefech the group information if there are less than number articles
  3320.      to fetch the information for, this is the stop a slow line being clogged
  3321.      up with long prefetches.
  3322.  
  3323. preview-continuation cond    (integer, default 12)
  3324.      This variable determines on what terms the following article should be
  3325.      automatically shown when previewing an article, and the next-article
  3326.      command is used, or continue is used at the end of the article. The
  3327.      following values can be used:
  3328.      0 - never show the next article (return to the menu).
  3329.      1 - always show the next article (use 'q' to return to the menu).
  3330.      2 - show the next article if it has the same subject as the current
  3331.      article, else return to the menu.
  3332.      The value should be the sum of two values: one for the action after using
  3333.      continue on the last page of the article, and one for the action
  3334.      performed when the next-article command is used multiplied by 10.
  3335.  
  3336. preview-mark-read        (boolean, default true)
  3337.      When set, previewing an article will mark the article as read.
  3338.  
  3339. previous-also-read    (boolean, default true)
  3340.      When set, going back to the previously read group with P {previous} will
  3341.      include articles read in the current invocation of nn even if there are
  3342.      still unread articles in the group.
  3343.  
  3344. print-header-lines fields    (string, default "FDGS")
  3345.      Specifies the list of header fields that are output when an article is
  3346.      printed via the :print command and print-header-type is 1 (short header).
  3347.      The fields specification is described in the section on Customized
  3348.      Article Headers below.
  3349.  
  3350. print-header-type N    (integer, default 1)
  3351.      Specifies what kind of header is printed by the :print command,
  3352.      corresponding to the three save-* commands: 0 prints only the article
  3353.      body (no header), 1 prints a short header, and 2 prints the full article
  3354.      header.
  3355.  
  3356. printer shell-command    (string, default is system dep.)
  3357.      This is the default value for the print command. It should include an
  3358.      option which prevents the spooler from echoing a job-id or similar to the
  3359.      terminal to avoid problems with screen handling (e.g. lp -s on System V).
  3360.  
  3361. query-signature        (boolean, default ...)
  3362.      Will cause nn to require confirmation before appending the .signature
  3363.      file to out-going mail or news if the corresponding append-sig-...
  3364.      variable is set.
  3365.  
  3366. quick-count    (boolean, default true)
  3367.      When set, calculating the total number of unread articles at start-up is
  3368.      done by simple subtracting the first unread article number from the total
  3369.      number of articles in each group. This is very fast, and fairly accurate
  3370.      but it may be a bit too large. If not set, each line in .newsrc will be
  3371.      interpreted to count every unread article, thus giving a very accurate
  3372.      number. This variable is also used by nncheck.
  3373.  
  3374. quick-save    (boolean, default false)
  3375.      When set, nn will not prompt for a file name when an article is saved
  3376.      (unless it belongs to a folder). Instead it uses the save file specified
  3377.      for the current group in the init file or the default save file.
  3378.  
  3379. re-layout N        (integer, default 0)
  3380.      Normally on the menu, nn will prefix the subject a number of `>'s
  3381.      corresponding to the depth of references on the thread tree. The
  3382.      re-layout variable may be set to use a different prefix on the subjects:
  3383.            0: One `>' per reference is shown (default).
  3384.            1: A single `>' is shown if the Subject contains Re:.
  3385.            2: The number of references is shown as `n>'
  3386.            3: A single Re: is shown.
  3387.            4: If any references use layout 0, else layout 1.
  3388.  
  3389. re-layout-read N    (integer, default -1)
  3390.      When the header-lines variable is not set, or contains the "*" field
  3391.      specifier, a line similar to the menu line will be used as the header of
  3392.      the article in reading mode, including the sender's name and the
  3393.      article's subject. When this variable is negative, the subject on this
  3394.      header line will be prefixed according to the re-layout variable.
  3395.      Otherwise, it will define the format of the "Re:" prefix to be used
  3396.      instead of the re-layout used on the menu.
  3397.  
  3398. read-return-next-page    (boolean, default false)
  3399.      When set, the Z {read-return} command will return to the next menu page
  3400.      rather than the current menu page.
  3401.  
  3402. record file    (string, no default)
  3403.      Setting this pseudo variable will set both the mail-record and the
  3404.      news-record variables to the specified pathname.
  3405.  
  3406. repeat        (boolean, default false)
  3407.      When set, nn will not eliminate duplicated subject lines on menus (I
  3408.      cannot imagine why anyone should want that, but....)
  3409.  
  3410. repeat-group-query    (boolean, default false)
  3411.      When set, invoking nn with the -g option will always repeat the query for
  3412.      a group to enter until you quit explicitly. (Same as setting the -r
  3413.      option permanently).
  3414.  
  3415. report-cost        (boolean, default true)
  3416.      This variable is ignored unless nn is running with accounting enabled
  3417.      (see nnacct). When set, nn will report the cost of the current session
  3418.      and the total on exit.
  3419.  
  3420. response-check-pause pause    (integer, default 2)
  3421.      Specifies the number of seconds to wait after posting an article to see
  3422.      whether the action *might* have failed. Some commands run in the
  3423.      background and may thus not have completed during this period, so even
  3424.      when nn says "Article posted", it may still fail (in which case you are
  3425.      informed via mail).
  3426.  
  3427. response-default-answer action    (string, default "send")
  3428.      The default action to be taken when hitting return to the "response
  3429.      action" prompt (abort, edit, send, view, write). If it is unset, no
  3430.      default action is defined.
  3431.  
  3432. retain-seen-status    (boolean, default false)
  3433.      Normally, seen articles will just be unread the next time the group is
  3434.      entered (unless they were marked read by auto-junk-seen). If
  3435.      retain-seen-status is set, the seen attribute on the articles will
  3436.      survive to the next time the group is entered. (This is not recommended
  3437.      because it may result in very large select files).
  3438.  
  3439. retry-on-error times    (integer, default 0)
  3440.      When set, nn will try the specified number of times to open an article
  3441.      before reporting that the article does not exist any more. This may be
  3442.      necessary in some network environments.
  3443.  
  3444. save-closed-mode mode    (integer, default 13)
  3445.      When saving an article in selection mode (i.e. by selecting it from the
  3446.      menu), nn will simply save the specified article if the article's subject
  3447.      is open. When the selected menu entry is a closed subject, the
  3448.      save-closed-mode variable determines how many articles among the closed
  3449.      articles should be saved: 0: save root article (the one on the menu) only
  3450.      1: save selected articles within subject 2: save unread (excl selected)
  3451.      articles within subject 3: save selected+unread articles within subject
  3452.      4: save all articles within subject If `10' is added to the above values,
  3453.      nn will not save the selected subject immediately; instead it will ask
  3454.      which articles to save using the above value as the default answer.
  3455.  
  3456. save-counter format    (string, default "%d")
  3457.      This is the printf-format which nn uses to create substitution string for
  3458.      the trailing * in save file names. You can set this to more complex
  3459.      formats if you like, but be sure that it will produce different strings
  3460.      for different numbers. An alternative format which seems to be popular is
  3461.      ".%02d" .
  3462.  
  3463. save-counter-offset N    (integer, default 0)
  3464.      Normally, file names created with the part.* form will substitute the *
  3465.      with successive numbers starting from one. Setting this variable will
  3466.      cause these numbers to start from N+1.
  3467.  
  3468. save-header-lines fields    (string, default "FDNS")
  3469.      Specifies the list of header fields that are saved when an article is
  3470.      saved via the O {save-short} command. The fields specification is
  3471.      described in the section on Customized Article Headers below.
  3472.  
  3473. save-report    (boolean, default true)
  3474.      When set, a message reporting the number of lines written is shown after
  3475.      saving an article. Since messages are shown for a few seconds, this may
  3476.      slow down the saving of many articles (e.g. using the S* command).
  3477.  
  3478. scroll-clear-page        (boolean, default true)
  3479.      Determines whether nn clears the screen before showing each new page of
  3480.      an article.
  3481.  
  3482. scroll-last-lines N        (integer, default 0)
  3483.      Normally, nn will show each new page of an article from the top of the
  3484.      screen (with proper marking of the overlap). When this variable is set to
  3485.      a negative value, nn will scroll the text of the new pages from the
  3486.      bottom of the screen instead. If it is set to a positive value, nn will
  3487.      show pages from the top as usual, but switch to scrolling when there are
  3488.      less than the specified number of lines left in the article.
  3489.  
  3490. select-leave-next        (boolean, default false)
  3491.      When set, you will be asked whether to select articles with the
  3492.      leave-next attribute on entry to a group with left over articles.
  3493.  
  3494. select-on-sender        (boolean, default false)
  3495.      Specifies whether the find (=) command in article selection mode will
  3496.      match on the subject or the sender.
  3497.  
  3498. shading-on code...    (control string, default not set)
  3499.      Specifies the escape code to be sent to the terminal to cause "shading"
  3500.      of the following output to the screen. This is used if the
  3501.      mark-overlap-shading is set, and by the `+' attribute in the header-lines
  3502.      variable.
  3503.  
  3504. shading-off code...    (control string, default not set)
  3505.      Specifies the escape code to be sent to the terminal to turn off the
  3506.      shading defined by shading-on. Shading will typically be done by changing
  3507.      the foreground color to change, e.g.
  3508.            on term ti924-colour
  3509.            set shading-on ^[ [ 3 2 m
  3510.            set shading-off ^[ [ 3 7 m
  3511.            set mark-overlap-shading
  3512.            unset mark-overlap
  3513.            end
  3514.  
  3515. shell program    (string, default $SHELL)
  3516.      The shell program used to execute shell escapes.
  3517.  
  3518. shell-restrictions    (boolean, default false)
  3519.      When set (in the init file), nn will not allow the user to invoke the
  3520.      shell in any way, including saving on pipes. It also prevents the user
  3521.      from changing certain variables containing commands.
  3522.  
  3523. show-purpose-mode N        (integer, default 1)
  3524.      Normally, nn will show the purpose of a group the first time it is read,
  3525.      provided a purpose is known. Setting this variable, this behavior can be
  3526.      changed as follows:
  3527.            0: Never show the purpose.
  3528.            1: Show the purpose for new groups only.
  3529.            2: Show the purpose for all groups.
  3530.  
  3531. silent        (boolean, default false)
  3532.      When set, nn wont print the logo or "No News" if there are no unread
  3533.      articles. Only useful to set in the init file or with the -Q option.
  3534.  
  3535. slow-mode        (boolean, default false)
  3536.      When set, nn will cut down on the screen output to give better response
  3537.      time at low speed. Normally, nn will use standout mode (if possible) to
  3538.      mark selected articles on the menu, but when slow-mode is set, nn will
  3539.      just put an asterisk `*' next to the article identifier on selected
  3540.      articles. Also when slow-mode is set nn will avoid redrawing the screen
  3541.      in the following cases: After a goto-group command an empty menu is shown
  3542.      (hit space to make it appear), and after responding to an article, only
  3543.      the prompt line is shown (use ^L to redraw the screen). To avoid
  3544.      redrawing the screen after an extended command, set the delay-redraw
  3545.      variable as well.
  3546.  
  3547. slow-speed speed    (integer, default 1200)
  3548.      If the terminal is running at this baud rate or lower, the on slow (see
  3549.      the section on init files) condition will be true, and the on fast will
  3550.      be false (and vice-versa).
  3551.  
  3552. sort        (boolean, default true)
  3553.      When set, nn will sort articles according to the current sort-mode on
  3554.      entry to a group. Otherwise, articles will be presented in order of
  3555.      arrival. If not set on entry to a menu for merged groups, the articles
  3556.      from each group will be kept together on the menu. If sort is unset while
  3557.      merged groups are presented on the menu, the articles will be reordered
  3558.      by local article number (which may not keep articles from the same group
  3559.      together).
  3560.  
  3561. sort-mode mode    (integer, default 1)
  3562.      The default sort algorithm used `thread-lexical'. It is a numeric value
  3563.      corresponding to one of the sorting methods described in connection with
  3564.      the :sort command:
  3565.            0 - arrival (ordered by article number)
  3566.            1 - subject (subjects ordered after age of first article)
  3567.            2 - lexical (subjects in lexicographical order)
  3568.            3 - age (articles ordered after posting date only)
  3569.            4 - sender (articles ordered after sender's name)
  3570.            5 - thread-lexical (articles ordered by thread and threads
  3571.            by subject)
  3572.            6 - thread-date (articles ordered by thread and threads
  3573.            by date)
  3574.  
  3575. spell-checker shell-command    (string, default not set)
  3576.      When set, responses can be checked for spelling mistakes via the (i)spell
  3577.      action. The command to perform the spelling is given the file containing
  3578.      the full article including header as its only argument. If the spell
  3579.      checker can fix spelling mistakes, it must apply the changes directly to
  3580.      this file.
  3581.  
  3582. split        (boolean, default true)
  3583.      When set, digests will automatically and silently be split into
  3584.      sub-articles which are then handled transparently as normal articles.
  3585.      Otherwise, digests are presented as one article (which you can split on
  3586.      demand with the G command).
  3587.  
  3588. stop lines    (integer, default not set)
  3589.      When stop is set, nn will only show the first lines lines of the of each
  3590.      article before prompting you to continue. This is useful on slow
  3591.      terminals and modem lines to be able to see the first few lines of longer
  3592.      articles (and skipping the rest with the n command).
  3593.  
  3594. subject-match-limit length    (integer, default 256)
  3595.      Subjects will be considered identical if their first length characters
  3596.      match. Setting this uncritically to a low value may cause unexpected
  3597.      results!
  3598.  
  3599. subject-match-offset offset    (integer, default 0)
  3600.      When set to a positive number, that many characters at the beginning of
  3601.      the subject will be ignored when comparing subjects for ordering and
  3602.      equality purposes.
  3603.  
  3604. subject-match-parts    (boolean, default false)
  3605.      When set, two subjects will be considered equal if they are identical up
  3606.      to the first (differing) digit. Together with the subject-match-offset
  3607.      variable, this can be used in source groups where the subject often has a
  3608.      format like:
  3609.            vXXXXXX: Name of the package (Part 01/04)
  3610.      Setting subject-match-offset to 8 and subject-match-parts to true will
  3611.      make nn consider all four parts of the package having the same subject
  3612.      (and thus be selectable with `*').
  3613.      Notice that changing the subject-match-... variables manually will not
  3614.      have an immediate effect. To reorder the menu, an explicit :sort command
  3615.      must be performed. These variables are mainly intended to be set using
  3616.      the :local command in on entry macros for source and binary groups (entry
  3617.      macros are evaluated before the menu is collected and sorted).
  3618.  
  3619. subject-match-minimum characters    (integer, default 4)
  3620.      When set to a positive number, that many characters at the beginning of
  3621.      the subject must match before the subject-match-parts option comes into
  3622.      affect. This is important, because the part matching causes the rest of
  3623.      the line to be ignored after the first digit pair is discovered. This
  3624.      begins after any subject-match-offset has been applied.
  3625.  
  3626. suggest-default-save    (boolean, default true)
  3627.      When set, nn will present the default-save-file when prompting for a save
  3628.      file name in a group without a specific save file, or folder-save-file
  3629.      when saving from a folder. When not set, no file name is presented, and
  3630.      to use the default save file, a single + must be specified.
  3631.  
  3632. tidy-newsrc        (boolean, default false)
  3633.      When set, nn will automatically remove lines from .newsrc which represent
  3634.      groups not found in the active file or unsubscribed groups if
  3635.      keep-unsubscribed is not set.
  3636.  
  3637. time        (boolean, default true)
  3638.      When set, nn will show the current time in the prompt line. This is
  3639.      useful on systems without a sysline (1) utility. TP tk-debug (boolean,
  3640.      default false) Display calls from the NN C code to TCL code for
  3641.      debugging.
  3642.  
  3643. tool-mode    (boolean, default false)
  3644.      If there is no new news check periodically for it.
  3645.  
  3646. tool-update-delay    (int, default 60)
  3647.      Period to delay between each check for new news in tool mode
  3648.  
  3649. trace-folder-packing    (boolean, default true)
  3650.      When set, a trace of the retained and deleted messages is printed when a
  3651.      folder is rewritten.
  3652.  
  3653. trusted-escape-codes codes    (string, default none)
  3654.      When set to a list of one or more characters, nn will trust and output
  3655.      escape characters in an article if it is followed by one of the
  3656.      characters in the list. For example, to switch to or from kanji mode,
  3657.      control codes like "esc\ $" and "esc\ (\ J" may be present in the text.
  3658.      To allow these codes, use the following command:
  3659.            set trusted-escape-codes ($
  3660.      You can also set it to all to pass all escape codes through to the
  3661.      screen. Notice that nn thinks all characters (including esc) output to
  3662.      the screen as occupy one column.
  3663.  
  3664. unshar-command shell-command    (string, default "/bin/sh")
  3665.      This is the command which is invoked by the unshar command.
  3666.  
  3667. unshar-header-file file    (string, default "Unshar.Headers")
  3668.      The name of the file in which the header and initial text of articles
  3669.      unpacked with the :unshar command is saved. Unless the file name starts
  3670.      with a `/', the file will be created in the same directory as the
  3671.      unpacked files. The information is not saved if this variable is not set.
  3672.      Setting it to "Unshar.Result" will cause the headers and the results from
  3673.      the unpacking process to be merged in a meaningful way (unless
  3674.      mmdf-format is set).
  3675.  
  3676. unsubscribe-mark-read    (boolean, default true)
  3677.      When set, unsubscribing to a group will automatically mark all current
  3678.      articles read; this is recommended to keep the size of .newsrc down.
  3679.      Otherwise, unread articles in the unsubscribe groups are kept in .newsrc.
  3680.      If keep-unsubscribed is false, this variable has no effect.
  3681.  
  3682. update-frequency        (integer, default 1)
  3683.      Specifies how many changes need to be done to the .newsrc or select files
  3684.      before they are written back to disk. The default setting causes .newsrc
  3685.      to be updated every time a group has been read.
  3686.  
  3687. use-path-in-from        (boolean, default false)
  3688.      When mail-format is set, saved articles will be preceded by a specially
  3689.      formatted "From\ " line:
  3690.            From origin date Normally, the origin will be the name of the news
  3691.      group where the article appeared, but if use-path-in-from is set, the
  3692.      contents of the "Path:" header will be used as the origin.
  3693.  
  3694. use-selections        (boolean, default true)
  3695.      When set, nn uses the selections and other article attributes saved last
  3696.      time nn was used. If not set, nn ignores the select file.
  3697.  
  3698. visible-bell    (boolean, default true)
  3699.      When set, nn will flash the screen instead of "ringing the bell" if the
  3700.      visible bell (flash) capability is defined in the termcap/terminfo
  3701.      database.
  3702.  
  3703. window size    (integer, default not set)
  3704.      When set, nn will reserve the last size lines of the menu screen for a
  3705.      preview window. If not set, nn will clear the screen to preview an
  3706.      article if there are less than min-window lines at the bottom of the
  3707.      screen. As a side effect, it can also be used to reduce the size of the
  3708.      menus, which may be useful on slow terminals.
  3709.  
  3710. word-key key    (key, default ^W)
  3711.      The key which erases the last input component or word when nn is
  3712.      prompting for a string, e.g. the last name in a path name.
  3713.  
  3714. wrap-header-margin size    (integer, default 6)
  3715.      When set (non-negative), the customized header fields specified in
  3716.      header-lines will be split across several lines if they don't fit on one
  3717.      line. When size is greater than zero, lines will be split at the first
  3718.      space occurring in the last size columns of the line. If not set (or
  3719.      negative), long header lines will be truncated if they don't fit on a
  3720.      single line.
  3721.  
  3722. From: NN
  3723. Subject: CUSTOMIZED ARTICLE HEADER PRESENTATION
  3724.  
  3725. Normally, nn will just print a (high-lighted) single line header containing
  3726. the author, subject, and date (optional) of the article when it is read.
  3727.  
  3728. By setting the header-lines variable as described below, it is possible to get
  3729. a more informative multi line header with optional high-lighting and
  3730. underlining.
  3731.  
  3732. The header-lines variable is set to a list of header line identifiers, and the
  3733. customized headers will then contain exactly these header lines in the
  3734. specified order.
  3735.  
  3736. The same specifications are also used by the :print and save-short commands
  3737. via the print-header-lines and save-header-lines variables.
  3738.  
  3739. The following header line identifiers are recognized in the header-lines,
  3740. print-header-lines, and save-header-lines variables:
  3741.  
  3742.     A    Approved:
  3743.     a    Spool-File:(path of spool file containing the article)
  3744.     B    Distribution:
  3745.     C    Control:
  3746.     D    Date:
  3747.     E    Content-transfer-encoding:
  3748.     d    Date-Received:
  3749.     F    From:
  3750.     f    Sender:
  3751.     G    Newsgroup:(current group)
  3752.     g    Newsgroup:(current group if cross-posted or merged)
  3753.     I    Message-Id:
  3754.     K    Keywords:
  3755.     L    Lines:
  3756.     M    Mime-Version:
  3757.     N    Newsgroups:
  3758.     n    Newsgroups:   (but only if cross posted)
  3759.     O    Organization:
  3760.     P    Path:
  3761.     R    Reply-To:
  3762.     S    Subject:
  3763.     T    Content-Type:
  3764.     v    Save-File:(the default save file for this article)
  3765.     W    Followup-To:
  3766.     X    References:
  3767.     x    Back-References:
  3768.     Y    Summary:
  3769.  
  3770. The 'G' and 'g' fields will include the local article number if it is known,
  3771. e.g.
  3772.       Newsgroup: news.software.nn/754
  3773.  
  3774. The following special symbols are recognized in the header-lines variable (and
  3775. ignored otherwise):
  3776.  
  3777. Preceding the identifier with an equal sign "=" or an underscore "_" will
  3778. cause the header field contents to be high-lighted or underlined.
  3779.  
  3780. A plus sign "+" will use the shading attribute defined by shading-on and
  3781. shading-off to high-light the field contents. If no shading attribute is
  3782. defined it will underline the field instead.
  3783.  
  3784. Including an asterisk "*" in the list will produce the standard one line
  3785. header at that point.
  3786.  
  3787. Example: The following setting of the header-lines variable will show the
  3788. author (underlined), organization, posting date, and subject (high-lighted)
  3789. when articles are read:
  3790.       set header-lines _FOD=S
  3791.  
  3792. From: NN
  3793. Subject: COMMAND LINE OPTIONS
  3794.  
  3795. Some of the command line options have already been described, but below we
  3796. provide a complete list of the effect of each option by showing the equivalent
  3797. set, unset, or toggle command.
  3798.  
  3799. Besides the options described below, you can set any of nn's variables
  3800. directly on the command line via an argument of the following format:
  3801.       variable=value
  3802. To set or unset a boolean variable, the value can be specified as on or off (t
  3803. and f will also work).
  3804.  
  3805. Notice that the init files are read before the options are parsed (unless you
  3806. use the -I option). Therefore, the options which are related to boolean
  3807. variables set in the init file will toggle the value set there, rather than
  3808. the default value. Consequently, the meaning of the options are also
  3809. user-defined.
  3810.  
  3811. The explanations below describe the effect related to the default setting of
  3812. the variables, with the `reverse' effect in square brackets.
  3813.  
  3814. -aN    {set limit N}
  3815.      Limit the maximum number of articles presented in each group to N. This
  3816.      is useful to get up-to-date quickly if you have not read news for a
  3817.      longer period.
  3818.  
  3819. -a0  Mark all unread articles as read. See the full explanation at the
  3820.      beginning of this manual.
  3821.  
  3822. -A   Don't read active file, instead use the .newsrc file for the list of
  3823.      groups, this can be useful for slow NNTP connections.
  3824.  
  3825. -B    {toggle backup}
  3826.      Do not [do] backup the rc file.
  3827.  
  3828. -d    {toggle split}
  3829.      Do not [do] split digests into separate articles.
  3830.  
  3831. -D server-name
  3832.      Connect to the specified NNTP server and also incorporate the server name
  3833.      in the NN status files so that it is easy to use multilple NNTP servers.
  3834.      For example with -D host.net .newsrc becomes .newsrc-host.net.
  3835.  
  3836. -f    {toggle fsort}
  3837.      Do not [do] sort folders according to the subject (present the articles
  3838.      in a folder in the sequence in which they were saved).
  3839.  
  3840. -g   Prompt for the name of a news group or folder to be entered
  3841.  
  3842. -i    {toggle case-fold-search}
  3843.      Normally searches with -n and -s are case independent. Using this option,
  3844.      the case becomes significant.
  3845.  
  3846. -I   Do not read the init file. This must be the first option!! The global
  3847.      setup file is still read.
  3848.  
  3849. -Ifile-list
  3850.      Specifies an alternate list of init files to be loaded instead of the
  3851.      standard global and private init files. The list is a comma-separated
  3852.      list of file names. Names which does not contain a `/' are looked for in
  3853.      the ~/.nn directory. An empty element in the list is interpreted as the
  3854.      global init file. The list of init files must not be separated from the
  3855.      -I option by blanks, and it must be the first option. Example: The
  3856.      default behavior corresponds to using -I,init (first the global file,
  3857.      then the file ~/.nn/init). The global setup file is still read as the
  3858.      first init file independently of the -I option used.
  3859.  
  3860. -k    {toggle kill}
  3861.      Do not [do] perform automatic kill and selection of articles.
  3862.  
  3863. -lN    {set stop N}
  3864.      Stop after printing the first N lines of each article. This is useful on
  3865.      slow terminals.
  3866.  
  3867. -L[f]    {set layout f}
  3868.      Select alternative menu layout f (0 to 4). If f is omitted, menu layout 3
  3869.      is selected.
  3870.  
  3871. -m    {no corresponding variable}
  3872.      Merge all articles into one `meta group' instead of showing them one
  3873.      group at a time. When -m is used, no articles will be marked as read.
  3874.  
  3875. -nWORD
  3876.      Collect only articles which contain the string WORD in the sender's name
  3877.      (case is ignored). If WORD starts with a slash `/', the rest of the
  3878.      argument is used as a regular expression instead of a fixed string.
  3879.  
  3880. -N    {no corresponding variable}
  3881.      Disable updating of the rc file. This includes not recording that groups
  3882.      have been read or unsubscribed to (although nn will think so until you
  3883.      quit).
  3884.  
  3885. -q    {toggle sort}
  3886.      Do not [do] sort the articles (q means quick, but it isn't any quicker in
  3887.      practice!)
  3888.  
  3889. -Q    {toggle silent}
  3890.      Quiet mode - don't [do] print the logo or "No News" messages.
  3891.  
  3892. -r    {toggle repeat-group-query}
  3893.      Make -g repeat query for a group to enter.
  3894.  
  3895. -R server-name
  3896.      Connect to the specified NNTP server
  3897.  
  3898. -sWORD
  3899.      Collect only articles which contain the string WORD in their subject
  3900.      (case is ignored). If WORD starts with a slash `/', the rest of the
  3901.      argument is used as a regular expression instead of a fixed string.
  3902.  
  3903. -S    {toggle repeat}
  3904.      Do not [do] eliminate duplicated subject lines on menus.
  3905.  
  3906. -T    {toggle time}
  3907.      Do not [do] show the current time in the prompt line.
  3908.  
  3909. -w[N]    {set window N}
  3910.      Reserve N lines of the menu screen for a preview window. If N is omitted,
  3911.      the preview window is set to 5 lines.
  3912.  
  3913. -W    {toggle confirm-messages}
  3914.      [Don't] Wait for confirmation on all messages.
  3915.  
  3916. -x[N]    {set old N}
  3917.      Present (or scan) all (or the last N) unread as well as read articles.
  3918.      This will never mark unread articles as read.
  3919.  
  3920. -X    {no corresponding variable}
  3921.      Read/scan unsubscribed groups also. Most useful when looking for a
  3922.      specific subject in all groups, e.g.
  3923.            nn -mxX -sSubject all
  3924.      
  3925.  
  3926. From: NN
  3927. Subject: MACRO DEFINITIONS
  3928.  
  3929. Practically any combination of commands and key strokes can be defined as a
  3930. macro which can be bound to a single key in menu and/or reading mode.
  3931.  
  3932. The macro definition must specify a sequence of commands and key strokes as if
  3933. they were typed directly from the keyboard. For example, a string specifying a
  3934. file name must follow a save command. This manual does not give a complete
  3935. specification of all the input required by the various commands; it is
  3936. recommended to execute the desired command sequence from the keyboard prior to
  3937. defining the macro to get the exact requirements of each command.
  3938.  
  3939. Although it is possible to define temporary macros interactively using the
  3940. :define command, macro definitions are normally placed in the init file.
  3941. Macros are numbered from 0 to 100, i.e. it is possible to define a total of
  3942. 101 different macros (implicit macros defined with the map command uses
  3943. internal numbers from 101 to 200).
  3944.  
  3945. To define macro number M, the following construction is used (the line breaks
  3946. are mandatory):
  3947.       define M
  3948.       body
  3949.       end
  3950.  
  3951. The body consists of a sequence of tokens separated by white space (blanks or
  3952. newlines). However, certain tokens continue to the end of the current line.
  3953.  
  3954. The following tokens may occur in the macro body:
  3955.  
  3956. Comments
  3957.      Empty lines and text following a # character (preceded by white space) is
  3958.      ignored.
  3959.  
  3960. Command Names
  3961.      Any command name listed in the key mapping section can be included in a
  3962.      macro causing that command to be invoked when the macro is executed.
  3963.  
  3964. Extended Commands
  3965.      All the extended commands which can be executed through the command
  3966.      command (normally bound to the : key) can also be executed in a macro. An
  3967.      extended command starts with a colon (:) and continues to the end of the
  3968.      current line. Example:
  3969.            :show groups total
  3970.  
  3971. Key Strokes
  3972.      A key stroke (which is normally mapped into a command depending on the
  3973.      current mode) is specified as a key name enclosed in single quotes.
  3974.      Examples (A-key, left arrow key, RETURN key):
  3975.            'A' 'left' '^M'
  3976.  
  3977. Shell Commands
  3978.      External commands can be invoked as part of a macro execution. There are
  3979.      two forms of shell command invocations available depending on whether a
  3980.      command may produce output or require user input, or it is guaranteed to
  3981.      complete without input or output to the terminal. The difference is that
  3982.      in the latter case, nn does not prepare the terminal to be used by
  3983.      another program. When the command completes, the screen is not redrawn
  3984.      automatically; you should use the redraw command to do that. The the
  3985.      forms are:
  3986.            :!echo this command uses the terminal
  3987.            :!!echo this command does not > /tmp/file
  3988.  
  3989. Strings
  3990.      Input to commands prompting for a string, e.g. a file name, can be
  3991.      specified in a macro as a double quoted string. Example (save without
  3992.      prompting for a file name):
  3993.            save-short "+$G"
  3994.  
  3995. Conditionals
  3996.      Conditionals may occur anywhere in a macro; a conditional is evaluated
  3997.      when the macro is executed, and if the condition is false the rest of the
  3998.      current line is ignored. The following conditionals are available:
  3999.            ?menu True in menu mode
  4000.            ?show True in reading mode
  4001.            ?folder True when looking at a folder
  4002.            ?group True when looking at a news group
  4003.            ?yes Query user, true if answer is yes
  4004.            ?no Query user, true if answer is no Example (stop macro execution
  4005.      if user rejects to continue):
  4006.            prompt "continue? " ?no break
  4007.      In addition to these conditionals, it is possible to test the current
  4008.      value of boolean and integer variables using the following form:
  4009.            ?variable=value This conditional will be true (1) if the variable is
  4010.      an integer variable whose current value is the one specified, or (2) if
  4011.      the variable is a boolean variable which is either on or off. Examples:
  4012.            ?layout=3 :set layout 1
  4013.            ?monitor=on break
  4014.            ?sort=off :sort age
  4015.  
  4016. break
  4017.      Terminate macro execution completely. This includes nested macros.
  4018.      Example (stop if looking at a folder):
  4019.            ?folder break
  4020.  
  4021. return
  4022.      Terminate execution of current macro. If the current macro is called from
  4023.      another macro, execution of that macro continues immediately.
  4024.  
  4025. input
  4026.      Query the user for a key stroke or a string, for example a file name.
  4027.      Example (prompt the user for a file name in the usual way):
  4028.            save-short input
  4029.  
  4030. yes  Confirm unconditionally if a command requires confirmation. It is ignored
  4031.      if the command does not require confirmation. Example (confirm creation
  4032.      of new files):
  4033.            save-short "+$G" yes
  4034.  
  4035. no   Terminate execution of current macro if a command requires confirmation;
  4036.      otherwise ignore it. If neither yes nor no is specified when a command
  4037.      requires confirmation, the user must answer the question as usual - if
  4038.      the user confirms the action execution continues normally; otherwise the
  4039.      execution of the current macro is terminated. Example (do not create new
  4040.      files):
  4041.            save-short "+$L/misc" no
  4042.  
  4043. prompt string
  4044.      Print the string in the prompt line (highlighted). The string must be
  4045.      enclosed in double quotes. Example:
  4046.            prompt "Enter recipient name" When the macro terminates, the
  4047.      original prompt shown on entry to the macro will automatically be
  4048.      redrawn. If this is not desirable (e.g. if the macro goes from selection
  4049.      to reading mode), the redrawing of the prompt can be disabled by using a
  4050.      prompt command with an empty string (""). Example:
  4051.            prompt "Enter reading mode?" # old prompt is saved
  4052.            ?no return # and old prompt is restored
  4053.            read-skip # changes the prompt
  4054.            prompt "" # so forget old prompt
  4055.  
  4056. echo string
  4057.      Display the string in the prompt line for a short period. Example:
  4058.            ?show echo "Cannot be used in reading mode" break
  4059.  
  4060. puts string-to-end-of-line
  4061.      The rest of the line is output directly to the terminal without
  4062.      interpretation.
  4063.  
  4064. macro M
  4065.      Invoke macro number M. The maximum macro nesting level is five (also
  4066.      catches macro loops).
  4067.  
  4068. I use the following macro to quickly save all the selected files in a file
  4069. whose name is entered as usual. It also works in reading mode (saving just the
  4070. current article).
  4071.       define 1
  4072.       :unset save-report
  4073.       save-short input yes
  4074.       ?menu '+'
  4075.       :set save-report
  4076.       end
  4077.  
  4078. From: NN
  4079. Subject: KEY MAPPINGS
  4080.  
  4081. The descriptions of the keys and commands provided in this manual reflects the
  4082. default key mappings in nn. However, you can easily change these mappings to
  4083. match your personal demands, and it is also possible to remap keys depending
  4084. on the terminal in use. Permanent remapping of keys must be done through the
  4085. init file, while temporary changes (for the duration of the current invocation
  4086. of nn) can be made with the :map command.
  4087.  
  4088. The binding and mapping of keys are controlled by four tables:
  4089.  
  4090. The multikey definition table
  4091.      This table is used for mapping multicharacter key sequences into single
  4092.      characters. By default the table contains the mappings for the four
  4093.      cursor keys, and there is room for 10 user-defined multikeys. The
  4094.      fourteen multikeys are named: up, down, right, left (the four arrow keys),
  4095.      and #0 through #9 for the user-defined keys.
  4096.      Multikey #i (where i is a digit or an arrow key name) is defined using
  4097.      the following command:
  4098.            map #i key-sequence
  4099.      where the sequence is a list of 7-bit character names (see below)
  4100.      separated by spaces. For example, if the HOME key sends the sequence ESC
  4101.      [ H, you can define multikey #0 to be the home key using the command:
  4102.            map #0 ^[ [ H
  4103.  
  4104. The input key mapping table
  4105.      All characters that are read from the keyboard will be mapped through the
  4106.      input mapping table. Consequently, you can globally remap one key to
  4107.      produce any other key value. By default all keys are mapped into
  4108.      themselves.
  4109.      An entry in the input key mapping table to map input-key into new-key is
  4110.      made with the command
  4111.            map key input-key new-key
  4112.      For example, to make your ESC key function as interrupt you can use the
  4113.      command
  4114.            map key ^[ ^G
  4115.  
  4116. The selection mode key binding table
  4117.      This table defines for each key which command should be invoked when that
  4118.      key is pressed in selection mode, i.e. when the article menu is shown.
  4119.      The command to bind a key to a command in selection mode is:
  4120.            map menu key command
  4121.      For example, to have the HOME key defined as multikey #0 above bound to
  4122.      the select command, the following command is used:
  4123.            map menu #0 select
  4124.      To remap a key to select a specific article on the menu (which the `a'
  4125.      through `z' keys do by default), the command must be specified as
  4126.      `article N' where N is the entry number on the menu counted from zero
  4127.      (i.e. a=0, b=1, ..., z=25, 0=26, ..., 9=35). For example, to map `J' to
  4128.      select article `j', the following command is used:
  4129.            map menu J article 9
  4130.  
  4131. The reading mode key binding table
  4132.      This table defines for each key which command should be invoked when that
  4133.      key is pressed in reading mode, i.e. when the article text is shown. The
  4134.      command to bind a key to a command in reading mode is:
  4135.            map show key command
  4136.  
  4137. In addition to the direct mappings described above, the following variations
  4138. of the map command are available:
  4139.  
  4140. User defined keymaps
  4141.      Additional keymaps can be defined using the command
  4142.            make map newmap
  4143.      This will create a new keymap which can initialized using normal map
  4144.      commands, e.g.
  4145.            map newmap key command
  4146.      To activate a user-defined keymap, it must be bound to a prefix key:
  4147.            map base-map prefix-key prefix newmap
  4148.      When used, the prefix key itself does not activate a command, but instead
  4149.      it require another key to be entered and then execute the command bound
  4150.      to that key in the keymap which is bound to the prefix key.
  4151.            For example, to let the key sequence "^X i" execute macro number 10
  4152.      in both modes, the following commands can be used:
  4153.            make map ctl-x
  4154.            map ctl-x i macro 10
  4155.            map both ^X prefix ctl-x
  4156.  
  4157. Mapping keys in both modes
  4158.      Using the pseudo-keymap `both', it is possible to map a key to a command
  4159.      in both selection and reading mode at once. For example, to map the home
  4160.      key to macro number 5 in both modes, the following command can be used:
  4161.            map both #0 macro 5
  4162.  
  4163. Aliasing
  4164.      A key can also be mapped directly to the command currently bound to
  4165.      another key. Later remapping of the other key will not change the mapping
  4166.      of the `aliased' key. This is done using the following command:
  4167.            map keymap new-key as old-key
  4168.  
  4169. Binding macros to keys
  4170.      A previously defined macro can be bound to a key using the command:
  4171.            map keymap key macro macro-number
  4172.  
  4173. Implicit macro definitions
  4174.      An implicit macro can also be defined directly in connection with the map
  4175.      command:
  4176.            map keymap key (
  4177.            body...
  4178.            )
  4179.  
  4180. Keys and character names are specified using the following notation:
  4181.  
  4182. C    A single printable character represents the key or character itself.
  4183.  
  4184. ^C   This notation represents a control key or character. DEL is written as ^?
  4185.  
  4186. 125, 0175, 0x7D
  4187.      Characters and keys can be specified by their ordinal value in decimal,
  4188.      octal, and hexadecimal notation.
  4189.  
  4190. up, down, right, left
  4191.      These names represent the cursor keys.
  4192.  
  4193. #0  through  #9
  4194.      These symbols represent the ten user-defined multikeys.
  4195.  
  4196. If the variable data-bits is 7, key maps can specify binding of all keys in
  4197. the range 0x00 to 0x7F, and the 8th bit will be stripped in all keyboard
  4198. input. If the variable data-bits is 8, the 8th bit is not cleared, and key
  4199. maps are extended to allow binding of keys in the range 0xA0 to 0xFE
  4200. (corresponding to the national characters defined by the ISO 8859 character
  4201. sets). Binding commands to these keys can be done either by using their
  4202. numeric value, or directly specifying the 8 bit character in the map command,
  4203. e.g.
  4204.       map menu 0xC8 macro 72
  4205.       map key \o'\(aae' %
  4206.  
  4207. To show the current contents of the four tables, the following versions of the
  4208. :map command are available:
  4209.  
  4210. :map Show the current mode's key bindings.
  4211.  
  4212. :map menu
  4213.      Show the selection mode key bindings.
  4214.  
  4215. :map show
  4216.      Show the reading mode key bindings.
  4217.  
  4218. :map #
  4219.      Show the multikey definition table.
  4220.  
  4221. :map key
  4222.      Show the input key mapping table.
  4223.  
  4224. From: NN
  4225. Subject: STANDARD KEY BINDINGS
  4226.  
  4227. Below is a list of all the commands that can be bound to keys, either in
  4228. selection mode, in reading mode, or both. For each command the default command
  4229. key bindings in both modes are shown. If the key is not bound in one of the
  4230. modes, but it can be bound, the corresponding part will just be empty. If the
  4231. command cannot be bound in one of the modes, that mode will contain the word
  4232. nix.
  4233.  
  4234.     Function              Selection mode  Reading mode
  4235.     advance-article       nix             a
  4236.     advance-group         A               A
  4237.     article N             a-z0-9          nix
  4238.     back-article          nix             b
  4239.     back-group            B               B
  4240.     cancel                C               C
  4241.     command               :               :
  4242.     compress              nix             c
  4243.     continue              space           space
  4244.     continue-no-mark      return          nix
  4245.     decode
  4246.     find                  =               /
  4247.     find-next             nix             .
  4248.     follow                F               fF
  4249.     full-digest           nix             H
  4250.     goto-group            G               G
  4251.     goto-menu             nix             = Z
  4252.     help                  ?               ?
  4253.     junk-articles         J               nix
  4254.     kill-select           K               K
  4255.     layout                "               nix
  4256.     leave-article         nix             l
  4257.     leave-next            L               L
  4258.     line+1                ,  down         return
  4259.     line-1                /               nix
  4260.     line=@                nix             g
  4261.     macro M
  4262.     mail                  M               m M
  4263.     message               ^P              ^P
  4264.     next-article          nix             n
  4265.     next-group            N               N
  4266.     next-subject          nix             k
  4267.     nil
  4268.     overview              Y               Y
  4269.     page+1                >               nix
  4270.     page+1/2              nix             d
  4271.     page-1                <               delete  backspace
  4272.     page-1/2              nix             u
  4273.     page=0                nix             h
  4274.     page=1                ^               ^
  4275.     page=$                $               $
  4276.     patch
  4277.     post
  4278.     preview               %               %
  4279.     previous              P               p
  4280.     print                                 P
  4281.     quit                  Q               Q
  4282.     read-return           Z               nix
  4283.     read-skip             X               X
  4284.     redraw                ^L ^R           ^L ^R
  4285.     reply                 R               r R
  4286.     rot13                 nix             D
  4287.     save-body             W               w W
  4288.     save-full             S               s S
  4289.     save-short            O               o O
  4290.     select                .               nix
  4291.     select-auto           +               nix
  4292.     select-invert         @               nix
  4293.     select-range          -               nix
  4294.     select-subject        *               *
  4295.     shell                 !               !
  4296.     skip-lines            nix             tab
  4297.     unselect-all          ~               nix
  4298.     unshar
  4299.     unsub                 U               U
  4300.     version               V               V
  4301.  
  4302. See the descriptions of the default bindings for a description of the
  4303. commands. The pseudo command nil is used to unbind a key.
  4304.  
  4305. From: NN
  4306. Subject: THE INIT FILES
  4307.  
  4308. The init files are used to customize nn's behavior to local conventions and
  4309. restrictions and to satisfy each user's personal taste.
  4310. Normally, nn reads upto four init files on start-up if they exist (all init
  4311. files are optional):
  4312.  
  4313. $LIB/setup
  4314.      A system-wide file located in the library directory. This file is always
  4315.      loaded before any other init file (even when the -I option is specified).
  4316.      It cannot contain a group presentation sequence.
  4317.  
  4318. $LIB/init
  4319.      Another system-wide (global) init file located in the library directory.
  4320.      This file may be ignored via the -I option.
  4321.  
  4322. ~/.nn/init
  4323.      The private init file located in the user's .nn directory. It is read
  4324.      after the global init file to allow the user to change the default setup.
  4325.  
  4326. ~/.nn/tk-init-nn
  4327.      Another private init file located in the user's .nn directory, this one
  4328.      is managed using the nn-tk setup menu and overrides any values set it
  4329.      ~/.nn/init. It should be noted that once a value is changed using nn-tk
  4330.      it writes the value of all variables that have been changed from their
  4331.      builtin defaults to ~/.nn/tk-init-nn, so that all variable changing from
  4332.      then on should be done via the nn-tk setup menu.
  4333.  
  4334. The init file is parsed one line at a time. If a line ends with a backslash
  4335. `\', the backslash is ignored, and the following line is appended to the
  4336. current line.
  4337.  
  4338. The init file may contain the following types of commands (and data):
  4339.  
  4340. Comments
  4341.      Empty lines and lines with a # character as the first non-blank character
  4342.      are ignored. Except where # has another meaning defined by the command
  4343.      syntax (e.g. multi-keys are named #n), trailing comments on input lines
  4344.      are ignored.
  4345.  
  4346. Variable settings
  4347.      You can set (or unset) all the variables described earlier to change nn's
  4348.      behavior permanently. The set and unset commands you can use in the init
  4349.      file have exactly the same format as the :set and :unset commands
  4350.      described earlier (except that the : prefix is omitted.)
  4351.      Variables can also be locked via the lock command; this is typically done
  4352.      in the setup file to enforce local policies.
  4353.  
  4354. Key mappings
  4355.      You can use all the versions of the map command in the init file.
  4356.  
  4357. Macro Definitions
  4358.      You can define sequences of commands and key strokes using the
  4359.      define...end construction, which can then be bound to single keys with
  4360.      the map command.
  4361.  
  4362. Load terminal specific files
  4363.      You can load a terminal specific file using the
  4364.            load file
  4365.      The character @ in the file will be replaced by the terminal type defined
  4366.      in the TERM environment variable. nn silently ignores the load command if
  4367.      the file does not exist (so you don't have to have a specific init file
  4368.      for terminals which does not require remapping). If the file is not
  4369.      specified by an absolute pathname, it must reside in your ~/.nn
  4370.      directory. Examples:
  4371.            # load local customizations
  4372.            load /usr/lib/nninit
  4373.            # load personal terminal specific customizations
  4374.            load init.@
  4375.  
  4376. Switch to loading a different init file
  4377.      You can skip the rest of the current init file and start loading a
  4378.      different init file with the following command:
  4379.            chain file
  4380.      If this occur in the private or global init file, the chained init file
  4381.      may contain a sequence part which will replace the private or global
  4382.      presentation sequence respectively.
  4383.  
  4384. Stop loading current init file
  4385.      You can skip the rest of the current init file with the following
  4386.      command:
  4387.            stop
  4388.  
  4389. Give error messages and/or terminate
  4390.      If an error is detected in the init file, the following commands can be
  4391.      used to print an error message and/or terminate execution:
  4392.      error fatal error message...
  4393.            Print the message and terminate execution.
  4394.      echo warning message...
  4395.            Print the message and continue.
  4396.      exit [ status ]
  4397.            Terminate nn with the specified exit status or 0 if omitted.
  4398.  
  4399. Change working directory of nn
  4400.      You can use the cd command to change the working directory whenever you
  4401.      enter nn. Example:
  4402.            # Use folder directory as working directory inside nn
  4403.            cd ~/News
  4404.  
  4405. Command groups
  4406.      The init file can contain groups of commands which are executed under
  4407.      special conditions. The command groups are described in the section on
  4408.      command groups below.
  4409.  
  4410. One or more save-files sections
  4411.      A save-files section is used to assign default save files to specific
  4412.      groups:
  4413.            save-files
  4414.            group-name (pattern) file-name
  4415.            ...
  4416.            end
  4417.      The group name (patterns) and save file names are specified in the same
  4418.      way as in the presentation sequence (see below). Example:
  4419.            save-files
  4420.            news* +news/$L
  4421.            comp.sources* /u/src/$L/
  4422.            end
  4423.  
  4424. The news group presentation sequence
  4425.      The last part of the init file may specify the sequence in which you want
  4426.      the news groups to be presented. This part starts with the command
  4427.      sequence and continues to the end of the init file.
  4428.  
  4429. Both init files may contain a presentation sequence. In this case, the global
  4430. sequence is appended to the private sequence.
  4431.  
  4432. From: NN
  4433. Subject: COMMAND GROUPS
  4434.  
  4435. Command groups may only occur in the init file, and they provide a way to have
  4436. series of commands executed at certain points during news reading.
  4437.  
  4438. In release 6.4 onwards, these possibilities are still rather rudimentary, and
  4439. a mixture of normal init file syntax and macro syntax is used depending on
  4440. whether the command group is only executed on start-up or several times during
  4441. the nn session.
  4442.  
  4443. A command group begins with the word on and ends with the word end. The
  4444. following command groups are conditionally executed during the parsing of the
  4445. init file if the specified condition is true. They may also have an optional
  4446. else part which is executed if the condition is false:
  4447.       on condition
  4448.       commands
  4449.       [ else
  4450.       commands ]
  4451.       end
  4452.  
  4453. The following conditional command groups may be used in the init file to be
  4454. executed at start-up:
  4455.  
  4456. on [ test ]
  4457.      The commands (init file syntax) in the group are executed only if the
  4458.      specified test is true. A shell is spawned to execute the command "[ test
  4459.      ]", so all the options of the test(1) command is available. For example,
  4460.      to unset the flow-control variable if the tty is a pseudo-tty, the
  4461.      following conditional can be used:
  4462.            on [ -n "`tty | grep ttyp`" ]
  4463.            unset flow-control
  4464.            end
  4465.  
  4466. on !shell command
  4467.      The command group is executed if the given shell command exits with 0
  4468.      status (success). Care should be taken that the command does not produce
  4469.      any output, e.g. by redirecting its output to /dev/null. For example, to
  4470.      prevent people from reading news if load is above a specific level, the
  4471.      following conditional might be placed in the global setup file.
  4472.            on !load-above 5
  4473.            error load is too high, try again later.
  4474.            end
  4475.  
  4476. on `shell command\|` string...
  4477.      The command group is executed if the first output line from executing the
  4478.      specified shell command is listed among the specified string values. The
  4479.      shell command can be omitted on subsequent occurrences of this
  4480.      conditional, in which case the output from the last shell command is
  4481.      used. For example, the following conditional can be used to switch to an
  4482.      init file which has a limited sequence for news reading during working
  4483.      hours, evenings, and nights:
  4484.            on `date +%H` 9 10 11 12 13 14 15 16
  4485.            chain init.work
  4486.            end
  4487.            on `` 17 18 19 20 21
  4488.            chain init.evening
  4489.            else
  4490.            chain init.night
  4491.            end
  4492.  
  4493. on `` string...
  4494.      This is equivalent to the previous form except that instead of executing
  4495.      a shell command, the output from the previous
  4496.  
  4497. on $variable [ value ]
  4498.      If no value strings are specified, the command group is executed if the
  4499.      given variable is defined in the environment. Otherwise, the command
  4500.      group is executed only if the value of the variable occur in the value
  4501.      list. For example, if you want nn to look for mail in whatever $MAIL is
  4502.      set to - if it is set - you can use the following code:
  4503.            on $MAIL
  4504.            set mail $(MAIL)
  4505.            end
  4506.  
  4507. on slow
  4508.      The commands (init file syntax) in the group are executed only if the
  4509.      current terminal output speed is less than or equal to the baud rate set
  4510.      in the slow-speed variable. This can be used to optimize the
  4511.      user-interface for slow terminals by setting suitable variables:
  4512.            on slow
  4513.            set confirm-entry
  4514.            set slow-mode
  4515.            set delay-redraw
  4516.            unset visible-bell
  4517.            set compress
  4518.            unset header-lines
  4519.            set stop 5
  4520.            set window 10
  4521.            end
  4522.  
  4523. on fast
  4524.      Same as on slow except that the commands are only executed when the
  4525.      terminal is running at a speed above the slow-speed value.
  4526.  
  4527. on term term-type...
  4528.      The commands are executed if one of the term-type names is identical to
  4529.      value of the TERM environment variable.
  4530.  
  4531. on host host-name...
  4532.      The commands are executed if the local host's name occur in the host-name
  4533.      list.
  4534.  
  4535. on program program-name...
  4536.      The commands are executed if the current program (nn, nncheck, etc) in
  4537.      the program-name list.
  4538.  
  4539. The following on command groups are really macros which may be executed during
  4540. nn's normal processing, and as such they cannot have an else part.
  4541.  
  4542. on entry [ group list ]
  4543.      These commands (macro format!) are executed every time nn enters a news
  4544.      group. If a group list is not specified, the commands are associated with
  4545.      all groups which don't have its own entry macro specified in the group
  4546.      sequence. Otherwise, the entry macro will be associated with the groups
  4547.      in the list. The group list is specified using the meta-notations
  4548.      described in the presentation sequence section.
  4549.      All `:' commands at the beginning of the command group are executed
  4550.      before nn collects the articles in the group, so it is possible to set or
  4551.      unset variables like cross-post and auto-read-mode before any articles
  4552.      are collected and the menu is (not) shown.
  4553.            The non-`:' commands, and `:' commands that follows a command of
  4554.      another type will be executed immediately after the first menu page is
  4555.      presented. The execution of a `:' command can be postponed by using a
  4556.      double `::' as the command prefix.
  4557.            on entry comp.sources* alt.sources
  4558.            :set cross-post on # set before collection
  4559.            :local auto-read-mode on # set before showing menu
  4560.            ::unset cross-post # set after collection
  4561.            end
  4562.  
  4563. on start-up
  4564.      These `:' commands (macro format!) are executed on start-up just before
  4565.      nn enters the first news group. However, postponed commands (i.e. non-`:'
  4566.      commands) will not be executed until the first group is shown (it works
  4567.      like an entry macro).
  4568.  
  4569. From: NN
  4570. Subject: GROUP PRESENTATION SEQUENCE
  4571.  
  4572. News groups are normally presented in the sequence defined in the system-wide
  4573. init file in nn's library directory.
  4574.  
  4575. You can personalize the presentation sequence by specifying an alternative
  4576. sequence in the private init file. The sequence in the private init file is
  4577. used before the global presentation sequence, and need only describe the
  4578. deviations from the default presentation sequence.
  4579.  
  4580. The presentation sequence must start with the word
  4581.       sequence followed by a list of the news group names in the order you want
  4582. them to be presented. The group names must be separated by white space. The
  4583. sequence list must be the last part of the init file (the parsing of commands
  4584. from the init file stops when the word sequence is encountered).
  4585.  
  4586. You may use a full group name like "comp.unix.questions", or just the name of
  4587. a main group or subgroup, e.g. "comp" or "comp.unix". However, if "comp"
  4588. precedes "comp.unix.questions" in the list, this subgroup will be placed in
  4589. the normal alphabetic sequence during the collection of all the "comp" groups.
  4590.  
  4591. Groups which are not explicitly mentioned in any of the sequence files will be
  4592. placed after the mentioned groups, unless `!!' is used and it has not been
  4593. disabled (as described below).
  4594.  
  4595. Each group name may be followed by a file or folder name (must start with
  4596. either of `/' `~' or `+') which will specify the default save file for that
  4597. group (and its subgroups). A single `+' following the group name is an
  4598. abbreviation for the last save file name used. For example, the following two
  4599. sequences are equivalent:
  4600.       group1 +file group2 +file group3 +file
  4601.       group1 +file group2 + group3 +
  4602.  
  4603. When an article is saved, the default save name will be used as the initial
  4604. contents of the file name prompt for further editing. It therefore does not
  4605. need to be be a complete file name (unless you use the quick save mode).
  4606.  
  4607. Each group name may also be associated with a so-called entry action. This is
  4608. basically an (unnamed) macro which is invoked on entry to the group (following
  4609. the same rules as the `on entry' command group related to :set and :unset
  4610. commands).
  4611.  
  4612. The entry action begins with a left parenthesis `(' and ends with a right
  4613. parenthesis `)' on an otherwise empty line:
  4614.       comp.sources. +src/$L/ (
  4615.       :set cross-post
  4616.       )
  4617. The last entry action can be repeated by specifying an empty set of
  4618. parenthesis, e.g.
  4619.       comp.unix. +unix ()
  4620. The entry action of a preceding group in the sequence can be associated with
  4621. the current group(s) by specifying the name of the group in the parentheses
  4622. instead of the commands, e.g.
  4623.       comp.unix. +unix (comp.sources.unix)
  4624. A macro can also be associated with the entry action by specifying its number
  4625. in the same way as the group name above, e.g.
  4626.       rec.music. +music (30)
  4627. Notice that it is the current definition of the macro which is associated with
  4628. the group, so if the macro is later redefined with the `:define' command, it
  4629. will not have any effect on the entry action.
  4630.  
  4631. Group names can be specified using the following notations:
  4632.  
  4633. group.name
  4634.      Append the group (if it exists) to the presentation sequence list. If
  4635.      also-subgroups is set (default), all subscribed subgroups of the group
  4636.      will be included as well (if there are any). Examples: "comp",
  4637.      "comp.unix", "comp.unix.questions". If the group does not exits (e.g.
  4638.      "comp"), the subgroups will be included even when also-subgroups is not
  4639.      set, i.e. "comp" is equivalent to "comp.".
  4640.  
  4641. group.name.
  4642.      Append the subgroups of the specified group to the presentation sequence.
  4643.      The group itself (if it exists) is not included. Examples: "comp.",
  4644.      "comp.unix.".
  4645.  
  4646. .group.name
  4647.      Append the groups whose name ends with the specified name to the
  4648.      sequence. Example: ".test".
  4649.  
  4650. group.name*
  4651.      Append the group and its subgroups to the presentation sequence list
  4652.      (even when also-subgroups is not set). Example: "comp.unix*".
  4653.  
  4654. The following meta notation can be used in a sequence file. The group.name can
  4655. be specified using any of the forms described above:
  4656.  
  4657. ! groups
  4658.      Completely ignore the group or groups specified unless they are already
  4659.      in the presentation sequence (i.e. has been explicitly mentioned earlier
  4660.      in the sequence).
  4661.  
  4662. !:code groups
  4663.      Ignore a selection of groups based on the given code letter (see below),
  4664.      unless they are already included in the sequence. Notice that these forms
  4665.      only excludes groups from the presentation sequence, i.e. they do not
  4666.      include the remaining groups at this point; that must be done explicitly
  4667.      elsewhere.
  4668.  
  4669. !:U groups
  4670.      Ignore unsubscribed groups, i.e. if they are neither new, nor present and
  4671.      subscribed in .newsrc. This is useful to ignore a whole hierarchy except
  4672.      for a few groups which are explicitly mentioned in .newsrc and still see
  4673.      new groups as they are created.
  4674.  
  4675. !:X groups
  4676.      Ignore unsubscribed and new groups, i.e. if they are not currently
  4677.      present and subscribed in .newsrc. This is useful to ignore a whole
  4678.      hierarchy except for a few groups which are explicitly mentioned in
  4679.      .newsrc. New groups in the hierarchy are ignored unless `NEW' occurs
  4680.      earlier in the sequence.
  4681.  
  4682. !:O groups
  4683.      Ignore old groups, i.e. unless they are new. This is useful to ignore a
  4684.      whole hierarchy but still see new groups which are created in the
  4685.      hierarchy (it might become interesting some day). Individual groups can
  4686.      still be included in the sequence if they are specified before the `!:O'
  4687.      entry.
  4688.  
  4689. !:N groups
  4690.      Ignore new groups in the hierarchy.
  4691.  
  4692. !!   Stop building the presentation sequence. This eliminates all groups that
  4693.      are not already in the presentation sequence.
  4694.  
  4695. NEW  This is a pseudo group name which matches all new groups; you could place
  4696.      this symbol early in your presentation sequence to see new groups `out of
  4697.      sequence' (to attract your attention to them).
  4698.  
  4699. RC   This is a pseudo group name which matches all groups occurring in the
  4700.      .newsrc file. It will cause the groups in .newsrc to be appended to the
  4701.      presentation sequence in the sequence in which they are listed in
  4702.      .newsrc.
  4703.  
  4704. RC:number
  4705.      Similar to the RC entry, but limited to the first number lines of the
  4706.      .newsrc file. Example: RC:10 (use 10 lines of .newsrc).
  4707.  
  4708. RC:string
  4709.      Similar to the RC entry, but limited to the lines up to (and including)
  4710.      the first line (i.e. group) starting with the given string. For example:
  4711.      RC:alt.sources
  4712.  
  4713. < group.name
  4714.      Place the group (and its subgroups) at the beginning of the presentation
  4715.      sequence. Notice that each `<' entry will place the group(s) at the
  4716.      beginning of the current sequence, i.e. < A < B < C will generate the
  4717.      sequence C B A.
  4718.  
  4719. > group.name
  4720.      Place the group (and its subgroups) after all other groups that are and
  4721.      will be entered into the presentation sequence.
  4722.  
  4723. @    Disable the `!!' command. This can be included in the personal
  4724.      presentation sequence if the global sequence file contains a !! entry
  4725.      (see example 1 below).
  4726.  
  4727. % .... %
  4728.      Starts and ends a region of the sequence where it is possible to include
  4729.      groups which has been eliminated earlier. This may be useful to alter the
  4730.      sequence of some groups, e.g. to place comp.sources.bugs after all other
  4731.      source groups, the following sequence can be used:
  4732.      ! comp.sources.bugs comp.sources* % comp.sources.bugs %
  4733.  
  4734. Example 1: In a company where ordinary users only should read the local news
  4735. groups, and ignore the rest (including new news groups which are otherwise
  4736. always subscribed to initially), can use the following global presentation
  4737. sequence:
  4738.       general
  4739.       follow
  4740.       ! local.test
  4741.       local
  4742.       !!
  4743. The "expert" users in the company must put the @ command somewhere in their
  4744. private sequence to avoid losing news groups which they have not explicitly
  4745. mentioned in their init file.
  4746. Example 2: This is the global sequence for systems with heavy news addicts who
  4747. setup their own sequences anyway.
  4748.       # all must read the general news first
  4749.       < general
  4750.       # test is test, and junk is junk,
  4751.       # so it is placed at the very end
  4752.       > test
  4753.       > .test
  4754.       > junk
  4755.       # this is the standard sequence which everybody may
  4756.       # change to their own liking
  4757.       local # our local groups
  4758.       dk # the Danish groups
  4759.       eunet.general # to present it before eunet.followup
  4760.       eunet # the other European groups
  4761.       comp # the serious groups
  4762.       news # news on news
  4763.       sci # other serious groups
  4764.       rec # not really that important (don't quote me)
  4765.       misc # well, it must be somewhere
  4766.       # the groups that are not listed above goes here
  4767. Notice the use of comments in the sequence where they are allowed at the end
  4768. of non-empty lines as well.
  4769. Example 3: My own presentation sequence (in the init file) simply lists my
  4770. favourite groups and the corresponding default save files:
  4771.       sequence
  4772.       !:U alt* # ignore unsubscribed alt groups
  4773.       news.software.nn +nn
  4774.       comp.sys.ti* +ti/$L
  4775.       NEW # show new groups here
  4776.       news*
  4777.       rec.music.synth +synth/
  4778.       comp.emacs*,gnu.emacs +emacs/misc
  4779.       comp.risks +risks
  4780.       eunet.sources +src/unix/
  4781.       comp.sources* +src/$L/
  4782. The presentation sequence is not used when nn is called with one or more news
  4783. group names on the command line; it is thus possible to read ignored groups
  4784. (on explicit request) without changing the init file. (Of course, you can also
  4785. use the G command to read ignored groups).
  4786.  
  4787. From: NN
  4788. Subject: MERGING NEWS GROUPS
  4789.  
  4790. The third example above contains the following line:
  4791.       comp.emacs*,gnu.emacs +emacs/misc
  4792. This is the syntax used to merge groups. When two or more groups are merged,
  4793. all new articles in these groups are presented together as if they were one
  4794. group. To merge groups, their names must be listed together in the sequence,
  4795. and only separated by a single comma. To merge the groups resulting from a
  4796. single group pattern (e.g. comp.emacs*), the group pattern must be followed by
  4797. a comma and a blank (e.g. comp.emacs*, ...).
  4798.  
  4799. Merged groups are presented as the first group in the "list", and the word
  4800. "MERGED" will be shown after the group name. The Y {overview} command will
  4801. still show merged groups as individual groups, but they will be annotated with
  4802. the symbol `&' on the first of the groups, and a `+' on the rest of the
  4803. groups.
  4804.  
  4805. In the current version, the concept of the current group in connection with
  4806. merged groups is a bit fuzzy. This should only be noticeable with the G
  4807. command, which will take the most recently used group among the merged groups
  4808. as the current group. So things like G = ... may not always work as expected.
  4809.  
  4810. From: NN
  4811. Subject: ENVIRONMENT
  4812.  
  4813. The following environment variables are used by nn:
  4814.  
  4815. EDITOR. The editor invoked when editing replies, follow-ups, and composing
  4816. mail. nn knows about the following editors: vi, ded, GNU emacs, and
  4817. micro-emacs, and will try to position the cursor on the first line following
  4818. the header, i.e. after the blank line which must not be deleted! If an article
  4819. has been included, the cursor is placed on the first line of the included text
  4820. (to allow you to delete sections easily).
  4821.  
  4822. LOGNAME. This is taken as the login name of the current user. It is used by nn
  4823. to return failed mail. If it is not defined, nn will use the value of USER, or
  4824. if that is not defined either, nn will use the call `who am i' to get this
  4825. information. If all attempts fail, the failed mail is dropped in the bit
  4826. bucket.
  4827.  
  4828. PAGER. This is used as the initial value of the pager variable.
  4829.  
  4830. SHELL. This is the shell which is spawned if the system cannot suspend nn, and
  4831. it will be used to execute the shell escapes.
  4832.  
  4833. TERM. The terminal type.
  4834.  
  4835. From: NN
  4836. Subject: FILES
  4837.  
  4838. ~/.newsrc             The record of read articles.
  4839. ~/.nn/select          The record of selected and seen articles.
  4840. ~/.nn/init            Personal configuration and presentation sequence.
  4841. ~/.nn/kill            The automatic kills and selections.
  4842. ~/.nn/KILL.COMP       The compiled kill file.
  4843. ~/.nn/LAST            The time stamp of the last news group we have seen.
  4844. ~/.nn/NEXTG           Active group last time nn was quit.
  4845. ~/.nn/.param          Parameter file for the aux script
  4846. $lib/setup            System-wide setup - always read first.
  4847. $lib/init             System-wide setup and presentation sequence.
  4848. $lib/aux              The response edit and send script.
  4849. $lib/routes           Mapping rules for mail addresses (on non-domain systems).
  4850. $db/*                 The news data base.
  4851. /etc/termcap          Terminal data base [BSD].
  4852. /usr/lib/terminfo/*   Terminal data base [SysV].
  4853. /usr/lib/nntp-server  Name of remote nntp server.
  4854. The name $lib and $db are the directories used for the auxiliary files and the
  4855. news data base respectively. Their name and location is defined at compile
  4856. time. Common choices are /usr/local/lib/nn or /usr/lib/news/nn for $lib and
  4857. /usr/spool/nn or /usr/spool/news/.nn for $db.
  4858.  
  4859. From: NN
  4860. Subject: SEE ALSO
  4861.  
  4862. Other netnews documentation.
  4863. RFC 1341, MIME (Multipurpose Internet Mail Extensions)
  4864. nncheck(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1), nntidy(1)
  4865. nnadmin(1M), nnusage(1M), nnspew(8)
  4866.  
  4867. From: NN
  4868. Subject: AUTHOR
  4869.  
  4870. Kim F. Storm, Texas Instruments A/S, Denmark
  4871. E-mail: storm@texas.dk (but see the addresses below)
  4872.  
  4873. The NNTP support was designed and implemented by Ren\o'\(aae' Seindal,
  4874. Institute of Datalogy, University of Copenhagen, Denmark.
  4875.  
  4876. Bugs and fixes, suggestions, ideas, critique, etc. can be sent to the
  4877. following address:
  4878.       nn-bugs@dkuug.dk
  4879.  
  4880. The news.software.nn group is used for discussion on all subjects related to
  4881. the nn news reader. This includes, but is not limited to, questions, answers,
  4882. ideas, hints, information from the development group, patches, etc.
  4883.  
  4884. From: NNACCT
  4885. Subject: - news accounting and access authorization (nn)
  4886.  
  4887. nnacct - news accounting and access authorization (nn)
  4888.  
  4889.  
  4890. From: NNACCT
  4891. Subject: SYNOPSIS
  4892.  
  4893. nnacct -r [ -f file ] [ -a ] [ user ]...
  4894. nnacct [ -ppolicy ] [ -qquota ] user...
  4895. nnacct -ZERO
  4896.  
  4897. From: NNACCT
  4898. Subject: DESCRIPTION
  4899.  
  4900. The nnacct command provides an optional accounting and access authorization
  4901. for news reading via the nn news reader.
  4902.  
  4903. The first form (-r) is used to print accounting reports. If a file is
  4904. specified data from a saved accounting file; otherwise the data is read from
  4905. the current accounting file.
  4906.  
  4907. If -a is specified, the report will contain accounting data for all users.
  4908. Otherwise, if one or more users are specified, the data for these users will
  4909. be printed. If neiter is specified, only the accounting data for the current
  4910. user is printed.
  4911.       Only the super-user can generate reports for other users than the caller.
  4912.  
  4913. The second form (-p and/or -q) assigns the specified access policy and/or
  4914. quota to the specified users. If a given user is not already known in the
  4915. accounting file, a new entry with the specified policy and quota is created
  4916. (default values are used if both are not specified).
  4917.  
  4918. The third form (-ZERO) will clear the usage counts for all users. Individual
  4919. usage counts cannot be cleared. The original accounting file is saved with a
  4920. .old suffix.
  4921.  
  4922. The following policies are currently implemented:
  4923.  
  4924. 0    No access. The user is not allowed to read news at all.
  4925.  
  4926. 1    Privileged user. The user can read news at all times and no accounting
  4927.      information is saved. This is obviously the policy for system
  4928.      administrators :-)
  4929.  
  4930. 2    Full time access. The user can access news at all times.
  4931.  
  4932. 3    Off-hours access. The user can only access news at off hours, i.e. in the
  4933.      morning, in the evening, on week-ends, and on holidays (not complete -
  4934.      check the source :-)
  4935.  
  4936. The quota specifies a number of hours which the user is allowed to read news.
  4937. When this quota is used up, access will be blocked. A quota of zero gives
  4938. unlimited access.
  4939.  
  4940. New users will get the default policy and quota defined in account.c. If this
  4941. allows new users to read news at only specific times, this form can be used to
  4942. permit individual users to read news at all times, or it can be used to
  4943. prevent them from reading news at all. If the default policy does not allow
  4944. new users to read news, this form must be used to authorize them to read news.
  4945.  
  4946. From: NNACCT
  4947. Subject: HOW IT WORKS
  4948.  
  4949. If authorization is enabled, the nn news reader will call nnacct on start-up
  4950. to check whether the policy and quota defined for the current user allows him
  4951. to read news at this time (or at all).
  4952.  
  4953. If accounting is enabled, the nn news reader will call nnacct on exit to
  4954. register the time spent on news reading. If account logging is also defined
  4955. (see account.c), an line is also added to the accounting log file.
  4956.  
  4957. When accounting is defined, the user can use the :cost command to get the
  4958. current accounting data, and if the variable report-cost is set, nn will print
  4959. accounting information on exit.
  4960.  
  4961. From: NNACCT
  4962. Subject: CONTIGURATION AND NEW POLICIES
  4963.  
  4964. The use of nnacct is enabled via the ACCOUNTING and AUTHORIZE symbols in nn's
  4965. configuration file. Further configuration of cost calculations, logging,
  4966. default policy, default quotas, etc. is done directly in the source file
  4967. account.c. New access policies can also be defined in this file. This allows
  4968. you to change the policies or prices without having to recompile the whole
  4969. package since only nnacct is modified.
  4970.  
  4971. From: NNACCT
  4972. Subject: PRIVILEGED USERS
  4973.  
  4974. Normally, only root is allowed to change user policy or quota, list all user's
  4975. accounting data etc. This privilege can be shared with other users by listing
  4976. their login name in the file $CLIENT/admins. There should be exactly one login
  4977. name per line, and no blanks are allowed.
  4978.  
  4979. From: NNACCT
  4980. Subject: FILES
  4981.  
  4982. $db/acct        accounting data (accumulated per user)
  4983. $db/acctlog     accounting log (grows indefinitely)
  4984. $lib/admins     login names of privileged nnacct users.
  4985.  
  4986.  
  4987. From: NNACCT
  4988. Subject: SEE ALSO
  4989.  
  4990. nn(1), nnusage(1)
  4991.  
  4992. From: NNACCT
  4993. Subject: BUGS
  4994.  
  4995. There should be some tools to mess around with the accounting files, e.g. to
  4996. make summaries, clear usage counters, etc.
  4997.  
  4998. From: NNACCT
  4999. Subject: AUTHOR
  5000.  
  5001. Kim F. Storm, Texas Instruments A/S, Denmark
  5002. E-mail: storm@texas.dk
  5003.  
  5004. From: NNCHECK
  5005. Subject: - check for unread articles
  5006.  
  5007. nncheck - check for unread articles
  5008.  
  5009.  
  5010. From: NNCHECK
  5011. Subject: SYNOPSIS
  5012.  
  5013. nncheck [ -Q -r -t ] [ -f format ]
  5014.  
  5015. From: NNCHECK
  5016. Subject: DESCRIPTION
  5017.  
  5018. nncheck will report if there are some articles on the system which you have
  5019. not read.
  5020.  
  5021. Without options, nncheck will simply print a message reporting the number of
  5022. unread articles with the following format:
  5023.       There are 327 unread articles in 25 groups
  5024. and when there are no unread articles, the following message will be printed:
  5025.       No News (is good news)
  5026.  
  5027. nncheck will exit with a value of 0 if there are unread articles, and 99 if
  5028. there is no news (see the exception for the -r option.)
  5029.  
  5030. It is important to notice that even though unread articles have been reported
  5031. by nncheck, the actual number of unread articles may be much lower (or even
  5032. zero) when nn is invoked to read the articles. This is because the calculation
  5033. of the number of unread articles is only based on recorded article number
  5034. intervals. Invoking nn to read the articles may reveal that the articles have
  5035. previously been read in another news group, have been expired, or are killed
  5036. using the auto-kill facility.
  5037.  
  5038. The following options are used to modify the amount and format of the output
  5039. from nncheck:
  5040.  
  5041. -Q   Quiet operation. No output is produced, only the exit status indicate
  5042.      whether there is unread news.
  5043.  
  5044. -t   Print the name of each group with unread articles, and how many unread
  5045.      articles there are (not counting split digests!).
  5046.  
  5047. -r   Output a single integer value specifying the number of unread articles,
  5048.      and exit with a 0 status (somebody told me this would be useful).
  5049.  
  5050. -f format
  5051.      Output the number of unread articles using the specified format. The
  5052.      format is a text that may contain the following %-escapes:
  5053.           %-code    resulting output
  5054.           %u        "uuu unread articles"
  5055.           %g        "ggg groups"
  5056.           %i        "is" if 1 unread article, else "are"
  5057.           %U        "uuu"
  5058.           %G        "ggg"
  5059.      where uuu is the number of unread articles, and ggg is the number of
  5060.      groups with unread articles.
  5061.      For example, the default output format is
  5062.            "There %i %u in %g"
  5063.      which I prefer to the following less perfect format:
  5064.            "There are %U unread article(s) in %G group(s)"
  5065.  
  5066.  
  5067.  
  5068. From: NNCHECK
  5069. Subject: FILES
  5070.  
  5071. ~/.newsrc   The record of read articles
  5072. $db/MASTER  The database master index
  5073.  
  5074.  
  5075. From: NNCHECK
  5076. Subject: SEE ALSO
  5077.  
  5078. nn(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1), nntidy(1)
  5079. nnadmin(1M), nnusage(1M), nnmaster(1M)
  5080.  
  5081. From: NNCHECK
  5082. Subject: AUTHOR
  5083.  
  5084. Kim F. Storm, Texas Instruments A/S, Denmark
  5085. E-mail: storm@texas.dk
  5086.  
  5087. From: NNGOBACK
  5088. Subject: - make news articles unread on a day-by-day basis (nn)
  5089.  
  5090. nngoback - make news articles unread on a day-by-day basis (nn)
  5091.  
  5092.  
  5093. From: NNGOBACK
  5094. Subject: SYNOPSIS
  5095.  
  5096. nngoback [ -NQvi ] [-d] days [ group ]...
  5097.  
  5098. From: NNGOBACK
  5099. Subject: DESCRIPTION
  5100.  
  5101. nngoback will rewind the .newsrc record file of nn(1) one or more days. It can
  5102. be used to rewind all groups, or only a specified set of groups. In other
  5103. words, nngoback can mark news articles which have arrived on the system during
  5104. the last days days unread.
  5105.  
  5106. Only subscribed groups that occur in the current presentation sequence are
  5107. rewound. That means that if no group arguments are specified, all groups
  5108. occurring in the sequence defined in the init file will be rewound. Otherwise,
  5109. only the groups specified on the argument line will be rewound.
  5110.  
  5111. When a group is rewound, the information about selections, partially read
  5112. digests etc. are discarded. It will print notifications about this unless the
  5113. -Q (quiet) option is used.
  5114.  
  5115. If the -i (interactive) option is specified, nngoback will report for each how
  5116. many articles can be marked unread, and ask for confirmation before going back
  5117. in that group.
  5118.  
  5119. If the -v (verbose) option is specified, nngoback will report how many
  5120. articles are marked unread.
  5121.  
  5122. If the -N (no-update) option is specified, nngoback will perform the entire
  5123. goback operation, but not update the .newsrc file.
  5124.  
  5125. If you are not up-to-date with your news reading, you can also use nngoback to
  5126. catch up to only have the last few days of news waiting to be read in the
  5127. following way:
  5128.       nn -a0
  5129.       nngoback 3
  5130. The nn command will mark all articles in all groups as read (answer all to the
  5131. catch-up question.) The following nngoback will then make the last three days
  5132. of news unread again.
  5133.  
  5134. Examples:
  5135.  
  5136. nngoback 0
  5137.      Mark the articles which have arrived today as unread.
  5138.  
  5139. nngoback 1
  5140.      Mark the articles which have arrived yesterday and today as unread.
  5141.  
  5142. nngoback 6
  5143.      Mark the articles which have arrived during the last week as unread.
  5144.  
  5145. You cannot go more than 14 days back with nngoback. (You can change this limit
  5146. as described below.)
  5147.  
  5148. From: NNGOBACK
  5149. Subject: THE BACK_ACT DAEMON
  5150.  
  5151. It is a prerequisite for the use of nngoback that the script back_act is
  5152. executed at an appropriate time once (and only once) every day. Preferably
  5153. this is done by cron right before the bacth of news for `today' is received.
  5154. back_act will maintain copies of the active file for the last 14 days.
  5155.  
  5156. Optionally, the back_act program accepts a single numerical argument
  5157. specifying how many copies of the active file it should maintain. This is
  5158. useful if news is expired after 7 days, in which case keeping more than 7 days
  5159. of active file copies is wasteful.
  5160.  
  5161. From: NNGOBACK
  5162. Subject: FILES
  5163.  
  5164. ~/.newsrc            The record of read articles.
  5165. ~/.newsrc.goback     The original rc file before goback.
  5166. $db/active.N         The N days `old' active file.
  5167. $master/back_act     Script run by cron to maintain old active files.
  5168.  
  5169.  
  5170. From: NNGOBACK
  5171. Subject: SEE ALSO
  5172.  
  5173. nn(1), nncheck(1), nngrab(1), nngrep(1), nnpost(1), nntidy(1)
  5174. nnadmin(1M), nnusage(1M), nnmaster(8)
  5175.  
  5176. From: NNGOBACK
  5177. Subject: NOTES
  5178.  
  5179. nngoback does not check the age of the `old' active files; it will blindly
  5180. believe that active.0 was created today, and that active.7 is really seven
  5181. days old! Therefore, the back_act script should be run once and only once
  5182. every day for nngoback to work properly.
  5183.  
  5184. The days are counted relative to the time the active files were copied.
  5185.  
  5186. From: NNGOBACK
  5187. Subject: AUTHOR
  5188.  
  5189. Kim F. Storm, Texas Instruments A/S, Denmark
  5190. E-mail: storm@texas.dk
  5191.  
  5192. From: NNGRAB
  5193. Subject: - news retrieval by keyword (nn)
  5194.  
  5195. nngrab - news retrieval by keyword (nn)
  5196.  
  5197.  
  5198. From: NNGRAB
  5199. Subject: SYNOPSIS
  5200.  
  5201. nngrab [ -c ] keyword
  5202.  
  5203. From: NNGRAB
  5204. Subject: DESCRIPTION
  5205.  
  5206. nngrab invokes nn on all USENET articles whose subject (or keyword) field(s)
  5207. contain an instance of keyword. nngrab is a fast equivalent for:
  5208.       nn -mxX -s/keyword all
  5209.  
  5210. For example,
  5211.       nngrab tesla
  5212. will retrieve items concerning Nikola Tesla.
  5213.  
  5214. Keyword case is ignored unless -c is specified, and the keyword can be a
  5215. regular expressions (escaped to avoid conflicts with the shell). For example,
  5216.       nngrab "n.*tesla"
  5217.  
  5218. The range of search includes all newsgroups on the system, including ones
  5219. which are unsubscribed.
  5220.  
  5221. From: NNGRAB
  5222. Subject: FILES
  5223.  
  5224. $db/subjects    subject database
  5225.  
  5226.  
  5227. From: NNGRAB
  5228. Subject: SEE ALSO
  5229.  
  5230. nn(1), nnspew(8), egrep(1)
  5231.  
  5232. From: NNGRAB
  5233. Subject: NOTES
  5234.  
  5235. nngrab can be much faster than the equivalent command shown above, if the
  5236. tertiary news subject database generated by the nnspew(8) daemon exists. To
  5237. enable the faster operation, nnspew must be executed regularly by cron.
  5238.  
  5239. nngrab uses egrep(1) to scan the subject database, so if you are not running
  5240. fast egrep (GNU-style) this is all for naught.
  5241.  
  5242. nngrab will use a subject database generated by nnspew independent of its age.
  5243. Thus, if you stop running nnspew, remember to remove the subjects file as
  5244. well.
  5245.  
  5246. From: NNGRAB
  5247. Subject: BUGS
  5248.  
  5249. Under version 6.4 onwards, search of the "Keywords:" field is not supported.
  5250. Search on name is not possible either.
  5251.  
  5252. From: NNGRAB
  5253. Subject: AUTHOR
  5254.  
  5255. James A. Woods, NASA Ames Research Center
  5256. E-mail: jaw@ames.arc.nasa.gov
  5257.  
  5258. From: NNGREP
  5259. Subject: - grep for news group names (nn)
  5260.  
  5261. nngrep - grep for news group names (nn)
  5262.  
  5263.  
  5264. From: NNGREP
  5265. Subject: SYNOPSIS
  5266.  
  5267. nngrep [ -ainprsu ] [ -l ] [ pattern ]
  5268.  
  5269. From: NNGREP
  5270. Subject: DESCRIPTION
  5271.  
  5272. nngrep can print various selections of the available news groups.
  5273.  
  5274. Without options, nngrep will list all currently subscribed newsgroups whose
  5275. name matches any of the specified patterns. If no pattern is specified, all
  5276. subscribed groups will be listed.
  5277.  
  5278. The selection of news groups against which the patterns are matches, and
  5279. subsequently printed by nngrep can be limited or expanded using the following
  5280. command line options and arguments:
  5281.  
  5282. -a   Use both subscribed and unsubscribed groups. Overrides the -u option.
  5283.  
  5284. -i   Use only ignored groups, i.e. which are not in the presentation sequence.
  5285.  
  5286. -n   Use only new groups. Notice that nn considers a group to be new until you
  5287.      have read at least one article in the group, or you have unsubscribed to
  5288.      the group. This means that even reasonable active news groups may remain
  5289.      "new" for quite some time if it only contains articles which are
  5290.      cross-posted to other groups which occur earlier in your presentation
  5291.      sequence.
  5292.  
  5293. -p   Use only groups with unread (pending) articles.
  5294.  
  5295. -r   Use only read groups, i.e. without unread articles.
  5296.  
  5297. -s   Use only groups which are in the presentation sequence.
  5298.  
  5299. -u   Use only unsubscribed groups.
  5300.  
  5301. These options can be combined if they don't logically exclude each other.
  5302.  
  5303. For example, to get the names of all "source" groups, you can use the command
  5304.       nngrep source
  5305.  
  5306. You can use this to read a specific subset of news groups with nn; for example
  5307.       nn `nngrep -sp source`
  5308.  
  5309. From: NNGREP
  5310. Subject: LONG LISTING
  5311.  
  5312. A long listing of the matched groups can be requested with the -l option. It
  5313. will include the following information:
  5314.  
  5315. SUBSCR      Specifies whether the group is subscribed or not (yes/no).
  5316. NEW         Specifies whether the group is new or not (yes/no).
  5317. UNREAD      Shows the number of unread articles in the group (if any).
  5318. SEQUENCE    Shows the group's index in the presentation sequence.
  5319. GROUP       The name of the group.
  5320.  
  5321.  
  5322. From: NNGREP
  5323. Subject: FILES
  5324.  
  5325. ~/.newsrc   The record of read articles
  5326. ~/.nn/init  The presentation sequence
  5327.  
  5328.  
  5329. From: NNGREP
  5330. Subject: SEE ALSO
  5331.  
  5332. nn(1), nncheck(1), nngoback(1), nngrab(1), nnpost(1), nntidy(1)
  5333. nnadmin(1M), nnusage(1M), nnmaster(8)
  5334.  
  5335. From: NNGREP
  5336. Subject: AUTHOR
  5337.  
  5338. Kim F. Storm, Texas Instruments A/S, Denmark
  5339. E-mail: storm@texas.dk
  5340.  
  5341. From: NNPOST
  5342. Subject: - post news articles (nn)
  5343.  
  5344. nnpost - post news articles (nn)
  5345.  
  5346.  
  5347. From: NNPOST
  5348. Subject: SYNOPSIS
  5349.  
  5350. nnpost [ -dksy string ] [ -f file ] [ -p ] [ group... ]
  5351.  
  5352. From: NNPOST
  5353. Subject: DESCRIPTION
  5354.  
  5355. nnpost is used to post new articles using nn's normal interface, but without
  5356. entering nn in reading mode.
  5357.  
  5358. When started, it reads the init file and then directly executes nn's :post
  5359. command.
  5360.  
  5361. It will prompt for a (comma-separated) list of news groups, the article
  5362. subject, a list of keywords, a summary, and the distribution of the article.
  5363. Each of these prompts can also be supplied via command line options or
  5364. arguments as described below.
  5365.  
  5366. When prompted for the "Newsgroup:", entering a ? as the first key will cause
  5367. nnpost to list all the known news groups and their purpose (if this
  5368. information is available). You can also enter / followed by a word or regular
  5369. expression which will cause nnpost to produce a (much) shorter listing only
  5370. containing the groups whose name and/or purpose description matches the
  5371. regular expression. When paging through either list, you can enter q to quit
  5372. the listing.
  5373.  
  5374. If a source file is specified with -f it will be used as the initial article
  5375. body. If the -p option is also specified, the article is posted directly
  5376. without editing.
  5377.  
  5378. nnpost can be used to do unattended postings if sufficient arguments are
  5379. provided on the command line to build the header and the body of the article.
  5380. The required arguments are: one or more newsgroups, a subject (-s), a source
  5381. file (-f), a distribution (-d), and the -p option. Other fields which are not
  5382. specified (e.g. keywords) will not be included in the header. The contents of
  5383. the news-header variable in the init file will be included in the header.
  5384.  
  5385. From: NNPOST
  5386. Subject: OPTIONS
  5387.  
  5388.  
  5389. -d distribution
  5390.      Use the specified distribution for the article.
  5391.  
  5392. -k "keywords"
  5393.      Associate the specified keywords with the article.
  5394.  
  5395. -s "subject"
  5396.      Use the specified subject for the new article.
  5397.  
  5398. -y "summary"
  5399.      Include the given summary in the article header.
  5400.  
  5401. -f file
  5402.      Read the article body from the specified file.
  5403.  
  5404. -p   Post the article specified with -f without editing.
  5405.  
  5406. From: NNPOST
  5407. Subject: FILES
  5408.  
  5409. ~/.nn/init  The control variables for nnpost.
  5410.  
  5411.  
  5412. From: NNPOST
  5413. Subject: SEE ALSO
  5414.  
  5415. nn(1)
  5416.  
  5417. From: NNPOST
  5418. Subject: AUTHOR
  5419.  
  5420. Kim F. Storm, Texas Instruments A/S, Denmark
  5421. E-mail: storm@texas.dk
  5422.  
  5423. From: NNSPEW
  5424. Subject: - subject database manager (nn)
  5425.  
  5426. nnspew - subject database manager (nn)
  5427.  
  5428.  
  5429. From: NNSPEW
  5430. Subject: SYNOPSIS
  5431.  
  5432. nnspew
  5433.  
  5434. From: NNSPEW
  5435. Subject: DESCRIPTION
  5436.  
  5437. nnspew builds a sorted database of all available subjects in the nn article
  5438. database for fast access via the nngrab utility.
  5439.  
  5440. nnspew should be activated regularly to rebuild the subject database, e.g. by
  5441. cron. For example:
  5442.       2 6,9,12,15,18,21 * * * root /bin/nice /usr/lib/nn/nnspew
  5443.  
  5444. Cross posted articles are only represented in the database once, and identical
  5445. subjects in each group are merged into one to use a minimum of disk space.
  5446. This saves about 50% of the disk space otherwise required.
  5447.  
  5448. From: NNSPEW
  5449. Subject: FILES
  5450.  
  5451. $db/subjects    subject database
  5452.  
  5453.  
  5454. From: NNSPEW
  5455. Subject: SEE ALSO
  5456.  
  5457. nn(1), nngrab(1), egrep(1)
  5458.  
  5459. From: NNSPEW
  5460. Subject: NOTES
  5461.  
  5462. nngrap will use the subject database generated by nnspew independent of its
  5463. age. Thus, if you stop running nnspew, remember to remove the subjects file as
  5464. well.
  5465.  
  5466. From: NNSPEW
  5467. Subject: BUGS
  5468.  
  5469. nnmaster should automatically append new articles to the subject database to
  5470. keep it up-to-date, and thus require less frequent rebuilding using nnspew.
  5471.  
  5472. From: NNSPEW
  5473. Subject: AUTHOR
  5474.  
  5475. James A. Woods, NASA Ames Research Center
  5476. E-mail: jaw@ames.arc.nasa.gov
  5477.  
  5478. From: NNSTATS
  5479. Subject: - display nnmaster collection and expire statistics
  5480.  
  5481. nnstats - display nnmaster collection and expire statistics
  5482.  
  5483.  
  5484. From: NNSTATS
  5485. Subject: SYNOPSIS
  5486.  
  5487. nnstats [ -lt ] [ -d month day ] [ -m month ] [ logfile ]...
  5488.  
  5489. From: NNSTATS
  5490. Subject: DESCRIPTION
  5491.  
  5492. nnstats will extract the collection (C) and expiration (X) entries from the
  5493. log file and calculate total and average number of articles, groups and
  5494. elapsed time per day, per month, or for the duration of the whole log file.
  5495.  
  5496. Normally only a summary for the specified period is printed. If -l is
  5497. specified, the statistics for each day in the period is also printed, and if
  5498. -t is specified the summary is not printed.
  5499.  
  5500. Normally the statistics is collected for all days in the log files (or the
  5501. current log file if one is not specified).
  5502.  
  5503. If "-m month" is specified, the statistics for that month is calculated. The
  5504. month is specified in normal date notation, i.e. a capitalized three letter
  5505. abbreviation like Jan, Feb, ...
  5506.  
  5507. If "-d month day" is specified, the statistics for that date only is
  5508. calculated and printed.
  5509.  
  5510. From: NNSTATS
  5511. Subject: FILES
  5512.  
  5513. .../Log             The log file
  5514.  
  5515.  
  5516. From: NNSTATS
  5517. Subject: SEE ALSO
  5518.  
  5519. nn(1), nnusage(1M), nnadmin(1M), nnmaster(8)
  5520.  
  5521. From: NNSTATS
  5522. Subject: NOTES
  5523.  
  5524. If nnmaster is run with options -LCX, nnstats will not work, because the
  5525. necessary entries are not written to the log file.
  5526.  
  5527. From: NNSTATS
  5528. Subject: AUTHORS
  5529.  
  5530. Mark Moraes <moraes@csri.toronto.edu>
  5531. Kim F. Storm <storm@texas.dk>
  5532.  
  5533. From: NNTIDY
  5534. Subject: - tidy your personal .newsrc file
  5535.  
  5536. nntidy - tidy your personal .newsrc file
  5537.  
  5538.  
  5539. From: NNTIDY
  5540. Subject: SYNOPSIS
  5541.  
  5542. nntidy [ -aciNQrsuv ] [ group ]...
  5543.  
  5544. From: NNTIDY
  5545. Subject: DESCRIPTION
  5546.  
  5547. nntidy will clean out non-existing groups, adjust obviously wrong article
  5548. numbers, and remove badly formed lines from your .newsrc file.
  5549.  
  5550. It may optionally remove ignored groups, unsubscribed groups, and groups which
  5551. are not part of your presentation sequence or the groups specified on the
  5552. command line.
  5553.  
  5554. You should run nntidy if your rc file has been corrupted for some reason.
  5555.  
  5556. From: NNTIDY
  5557. Subject: OPTIONS
  5558.  
  5559.  
  5560. -a   Equivalent to -cisu.
  5561.  
  5562. -c   Remove unrecognized lines. This will also remove the `options' line used
  5563.      by some older news readers, such as readnews(1)
  5564.  
  5565. -i   Remove entries for groups which are ignored in the database, e.g. entries
  5566.      marked with `X' in the GROUPS file.
  5567.  
  5568. -r   Remove entries for unsubscribed groups.
  5569.  
  5570. -s   Remove entries which are not included in the group presentation sequence
  5571.      defined in the init file. If one or more groups are specified on the
  5572.      command line, entries not matched by these groups (and their subgroups
  5573.      etc) will be removed.
  5574.      Notice that depending on how you construct the presentation sequence,
  5575.      this may cause unsubscribed groups to be removed from .newsrc, but this
  5576.      will not normally happen.
  5577.  
  5578. -u   Truncate entries for unsubscribed groups, by removing the article numbers
  5579.      and leaving only the news group name and the `!' mark.
  5580.  
  5581. -v   Verbose operation. Reports each change made to the .newsrc file.
  5582.  
  5583. -N   No update mode. The requested operations are performed, but the result is
  5584.      not written back to disk. This can be used with the -v option to see
  5585.      whether tidying is required.
  5586.  
  5587. -Q   Quiet operation. The version information is not printed.
  5588.  
  5589. From: NNTIDY
  5590. Subject: FILES
  5591.  
  5592. ~/.newsrc           The record of read articles
  5593. ~/.newsrc.tidy      The original rc file before tidy
  5594.  
  5595.  
  5596. From: NNTIDY
  5597. Subject: SEE ALSO
  5598.  
  5599. nn(1), nncheck(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1)
  5600. nnadmin(1M), nnusage(1M), nnmaster(8)
  5601.  
  5602. From: NNTIDY
  5603. Subject: AUTHOR
  5604.  
  5605. Kim F. Storm, Texas Instruments A/S, Denmark
  5606. E-mail: storm@texas.dk
  5607.  
  5608. From: NNUSAGE
  5609. Subject: - display nn usage statistics
  5610.  
  5611. nnusage - display nn usage statistics
  5612.  
  5613.  
  5614. From: NNUSAGE
  5615. Subject: SYNOPSIS
  5616.  
  5617. nnusage [ -at ]
  5618.  
  5619. From: NNUSAGE
  5620. Subject: DESCRIPTION
  5621.  
  5622. nnusage will extract the usage entries from the log file and calculate the
  5623. total usage time for the current user, or for all nn users if -a is specified.
  5624.  
  5625. When -t is used with the -a option, nnusage will list the users ordered after
  5626. the total usage time. Otherwise, the output will be sorted according to user
  5627. names.
  5628.  
  5629. Since it is possible to suspend nn, or leave the terminal while nn is active,
  5630. nn tries to be intelligent when it calculates the usage time so it will truly
  5631. report the actual time spent on news reading.
  5632.  
  5633. From: NNUSAGE
  5634. Subject: FILES
  5635.  
  5636. .../Log             The log file
  5637.  
  5638.  
  5639. From: NNUSAGE
  5640. Subject: SEE ALSO
  5641.  
  5642. nn(1), nncheck(1), nngoback(1), nngrep(1), nntidy(1)
  5643. nnacct(1m), nnadmin(1M), nnquery(1M), nnmaster(8)
  5644.  
  5645. From: NNUSAGE
  5646. Subject: NOTES
  5647.  
  5648. If nn is compiled with ACCOUNTING turned on, then calls to nnusage are
  5649. converted into equivalent calls to nnacct.
  5650.  
  5651. The nn package must have been compiled with the STATISTICS option turned on to
  5652. produce the usage entries in the log file.
  5653.  
  5654. Only nn sessions longer than 5 minutes are registered in the log file.
  5655.  
  5656. From: NNUSAGE
  5657. Subject: AUTHOR
  5658.  
  5659. Kim F. Storm, Texas Instruments A/S, Denmark
  5660. E-mail: storm@texas.dk
  5661.  
  5662.